I tried to find an interpretation of the memory segments of the sun java vm, which would also be understandable by an administrator. It should explain what heap / non-heap memory is and the significance of the different memory pools.
If it would somehow relate to the jconsole view, it would be a bonus.
Is there somewhere a website with such an explanation?
Here’s a list of resources I had noted down. Some of these explain how the heap/garbage collection works and some have details on how to configure everything.
- How does garbage collection work?
- Detailed description of garbage collection
- Generational and concurrent garbage collection
- Turbo-charging Java HotSpot Virtual Machine, v1.4.x to Improve the Performance and Scalability of Application Servers – (discussion of low pause collectors)
- Performance Documentation for the Java HotSpot VM
- Improving Java Application Performance and Scalability by Reducing Garbage Collection Times and Sizing Memory Using JDK 1.4.1
- Frequently Asked Questions About the Java HotSpot VM
- Java HotSpot VM Options
This article from Sun on Tuning Garbage Collection with the 5.0 Java Virtual Machine should have pretty good definitions and explanations of everything you are looking for; I don’t believe a ton has changed on this subject between 5.0 and 6.0
There is also this whitepaper on Memory Management in the Java HotSpot Virtual Machine.
A fairly recent one: http://www.ibm.com/developerworks/java/library/j-nativememory-linux/
Also, please see these JavaOne sessions for JVM GC. (including video playback)
- Garbage Collection Friendly Programming
- Garbage Collection Tuning in the Java HotSpot virtual machine
- The Garbage First Garbage Collector <== highly recommended
- Performance considerations in concurrent garbage-collected systems
Oracle changed JavaOne contents as paid one. Please see this article for G1 garbage collector instead.
I find that Sun’s Memory Management Whitepaper offers a good overview.
The final section offers useful links to delve deeper into areas of particular interest.