除此之外,之前也寫過一些相關的文章,感覺可以聯系來看。所以,做成一個集子,如下。如果大家覺得還有點作用,就請留言吧。
【FYI】 A Collection of JVM Options (http://blogs.sun.com/watt/resource/jvm-options-list.html)
[0 of Series "Inside JVM"] [Java內存管理精彩概述] JVM Memeory Management Overview - 0 of Series "Inside JVM"
Java Memory Management is one of the most important Java Core Techniques. It is worth for every developer to spend some time to learn how it works. It is also a very interesting topic. I try to provide an overview on Java Memory Management, so, some detailed are omitted in the slides, please see detailed by the Reference Links in the last page.
And another important thing is, most of contents are NOT specified by Java Spec, which means different JVM may have different implementation. This sides is based on Sun Hotspot JVM.
The following are the major contents of slides –
- How Java Object Stores in Memory
- Shallow Size, Retained Size and Weak Reference
- JVM Memory Structure & Heap Dump
- How GC works
- GC Algorithm
- Hints on GC Turning
- VisualVM and GCViewer
- Out of Memory – 3 types
- Memory Leak, Permanent Memory Leak, Native Memory Leak
- Memory Leak & Eclipse Memory Analyzer
- JDK 6