MaxTenuringThreshold available in ParNewGC?
fancyerii at gmail.com
Tue Jan 10 01:31:07 PST 2012
I have an application that generating many large objects and then
discard them. I found that full gc can free memory from 70% to 40%.
I want to let this objects in young generation longer. I found
-XX:MaxTenuringThreshold and -XX:PretenureSizeThreshold.
But I found a blog that says MaxTenuringThreshold is not used in
And I use ParNewGC+CMS. I tried to set MaxTenuringThreshold=10, but it
seems no difference.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-gc-use