最近,由于公司工作需要,特别花了几个星期的时候重新梳理了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.blogjava.net/Files/justinchen/JavaMemeoryOverviewPublic.zip
posted on 2009-03-26 09:47
Justin Chen 阅读(4668)
评论(11) 编辑 收藏 所属分类:
Inside JVM