MaxTenuringThreshold available in ParNewGC?

Li Li fancyerii at gmail.com
Tue Jan 10 01:31:07 PST 2012


hi all
   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
ParNewGC.
And I use ParNewGC+CMS. I tried to set MaxTenuringThreshold=10, but it
seems no difference.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20120110/1fd48a4c/attachment.html 


More information about the hotspot-gc-use mailing list