开发者

JVM memory management & garbage collection book? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_开发知识库

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

Could anyone advice a book (or any other source) that would thoroughly reveal internals of JVM memory management & garbage collection (optimization, work, circular references, pecularities, discussions for various JVM impls...)?

[What I've found so far are separate articles devoted to various aspects but no weighty tome :). Some good materials for Hotspot implementation are here. ]

Thanks a lot for any advice you give.


HotSpot:

Virtual Machine Garbage Collection Tuning

The Garbage-First Garbage Collector (G1)

HotSpot Garbage Collection

IBM Metronome:

Overview (with informative links on the left sidebar)


If you look for a vendor-independent resource revealing and thoroughly describing all the various GC algorithms ever researched/designed, I recommend:

  • The Garbage Collection Handbook - Explains theory and implementation of the main GC research that was there since the first GC algorithm ever designed. References also related research articles where you can find all the nasty details. I really like that book, I think that THIS IS THE BIBLE of all the GC-related research.


This is highly vendor dependent and not necessarily shared.

HotSpot is open source and demonstrates directly how it is done. Jikes RVM is a JVM written in Java which might be easier to dive into. JamVM is a tiny JVM written in C which - due to its size - might also be easier to dive into.


I would suggest to go through the Java Virtual Machine specification.Following is the URL for the same :

http://java.sun.com/docs/books/jvms/second_edition/html/VMSpecTOC.doc.html

This gives you a good generic details about the java virtual machine.


Also, take a look at this: http://dave-robinson.net/tuning/jvm_details.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜