MaxTenuringThreshold available in ParNewGC?

Bengt Rutisson bengt.rutisson at oracle.com
Tue Jan 10 13:17:18 UTC 2012


On 2012-01-10 11:23, Florian Binder wrote:
> At
> http://cr.openjdk.java.net/~brutisso/7016112/webrev.02/src/share/vm/runtime/globals.hpp.html

This is actually a link to one of my webrevs. It could be removed any 
day. A more stable way of finding the source for globals.hpp is to look 
in the mercurial repository for OpenJDK:
http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/file/97c00e21fecb/src/share/vm/runtime/globals.hpp

Bengt

>
> you have the source code with most jvm-parameters.
> I know, it is a webrev and not the newest file, but there are the most 
> parameters with a short description ;-)
>
> An other way is to enable PrintFlagsFinal or PrintFlagsInitial or just 
> run:
> java -XX:+PrintFlagsFinal
>
> Flo
>
>
> Am 10.01.2012 10:49, schrieb Li Li:
>> btw, is there any web page that list all the jvm parameters and their 
>> default values? I am confused that they are distributed in many 
>> documents and some are deprecated.
>>
>> On Tue, Jan 10, 2012 at 5:31 PM, Li Li <fancyerii at gmail.com 
>> <mailto:fancyerii at gmail.com>> wrote:
>>
>>     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%.
>>     btw, is there any web page that list all JVM parameters and their
>>     default values?
>>
>>
>>      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.
>>
>>
>>
>>
>> _______________________________________________
>> hotspot-gc-use mailing list
>> hotspot-gc-use at openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
>
>
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20120110/8957224e/attachment.htm>
-------------- next part --------------
_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use


More information about the hotspot-gc-dev mailing list