最近,由于公司工作需要,特別花了幾個星期的時候重新梳理了Java內存管理的主要概念和基本思想,并且總結了相關的工具和調優經驗,制作了這個PPT. 個人覺得,基本上覆蓋了Java內存管理的主要內容。
除此之外,之前也寫過一些相關的文章,感覺可以聯系來看。所以,做成一個集子,如下。如果大家覺得還有點作用,就請留言吧。
【FYI】 A Collection of JVM Options (http://blogs.sun.com/watt/resource/jvm-options-list.html)
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
http://www.tkk7.com/Files/justinchen/JavaMemeoryOverviewPublic.zip
posted on 2009-03-26 09:47
Justin Chen 閱讀(4699)
評論(11) 編輯 收藏 所屬分類:
Inside JVM