This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Java in General and the fly likes Book for memory management in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Book for memory management in Java" Watch "Book for memory management in Java" New topic

Book for memory management in Java

Pankaj Kumarkk
Ranch Hand

Joined: Apr 17, 2011
Posts: 110
I want to learn memory management model in java and want to know if there is any book I can refer for same.

I have found out that there are different memory regions (new objects, old objects, tenured objects, perm). I want to understand what is the significance of each. How would you go about tuning the JVM for these.
Also there are multiple GC strategies available for JVM(concurrent etc) and want to learn the significance of each.

I would like to know if there is any book which covers all(or most) of above.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 43335
Is there anything in the JVM specification?

Unless you have a performance problem, you should not tune the garbage collector.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Book for memory management in Java
It's not a secret anymore!