本文介绍了了解 Java 内存模型和垃圾收集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我往往会收到很多学生或寻找资源的同事提出的这些问题,因此我希望为他们提供更明确的参考.不妨与社区分享.

  • Java 内存模型是如何表示的,它有什么特点?

  • How is the Java Memory Model represented and what are its characteristics?

垃圾收集在一般情况下和在最常见的 JVM 中是如何工作的?

How does Garbage Collection work in general and in the most common JVMs?

如何测试和调整我的 Java 应用程序的性能?

How do I test and tune my Java applications for performance?

推荐答案

内存基础

  • 每个程序员都应该了解的关于内存的知识 - Ulrich Drepper [PDF]
  • Memory Basics

    • What Every Programmer Should Know About Memory - Ulrich Drepper [PDF]
      • The Java Virtual Machine Specification [PDF and HTML for Java SE 7]
      • 编程高级主题:Java 内存模型 - Jeremy Manson [视频]
      • Java 内存模型的资源集合 - 由 Bill Pugh 编辑和编译 (收藏)
      • HotSpot 虚拟机中的内存管理 - Sun Microsystems (2006) [PDF]
      • 修复 Java 内存模型 - Brian Goetz,IBM Java 开发人员系列 () [第 1 部分第 2 部分]
      • Advanced Topics in Programming: The Java Memory Model - Jeremy Manson [video]
      • Collection of Resources on the Java Memory Model - edited and compiled by Bill Pugh (collection)
      • Memory Management in the HotSpot Virtual Machine - Sun Microsystems (2006) [PDF]
      • Fixing the Java Memory Model - Brian Goetz, IBM Java Developer Series () [part 1, part 2]
      • 9 Fallacies of Java Performance - Ben Evans [video + slides]
      • JVM Performance Magic Tricks - Takipi [blog + slides]
      • Java and the Machine - Kirk Pepperdine, Martijn Verburg [video + slides]
      • Performance Testing Java Applications - Martin Thompson [video + slides]
      • Building Memory-Efficient Java Applications: Practices and Challenges - Mitchell, Sevitsky (2009) [PDF]
      • 优化 Google 的仓库级计算机:NUMA 体验 - University of California &谷歌 [PDF]
      • MegaPipe:可扩展网络 I/O 的新编程接口 [Google 文档]
      • 打破神话的现代硬件获得机械同情" - Martin Thompson [PDF](幻灯片)
      • 缓存:更有效地理解、衡量和使用 CPU 缓存 - Richard Warburton[视频+幻灯片]
      • JVM 能做到吗?! - Cliff Click [视频]
      • Optimizing Google’s Warehouse Scale Computers: The NUMA Experience - University of California & Google [PDF]
      • MegaPipe: A New Programming Interface for Scalable Network I/O [Google Doc]
      • Mythbusting modern hardware to gain "Mechanical Sympathy" - Martin Thompson [PDF](slides)
      • Caching in: understand, measure and use your CPU Cache more effectively - Richard Warburton[video + slides]
      • A JVM Does That?! - Cliff Click [video]
      • Hotspot Garbage Collection - Tuning Guide - Martijn Verburg, John Oliver [video, slides pt 1, slides pt 2]
      • Are your GC logs speaking to you, the G1GC edition [slides, video]
      • The Principles of Java Application Performance Tuning [article]
      • Everything I Ever Learned About JVM Performance Tuning @Twitter - Attila Szegedi [video & slides]
      • Visualizing Java GC - Ben Evans [video + slides]

      这篇关于了解 Java 内存模型和垃圾收集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 05:43