Request for review: 6521376: MaxTenuringThreshold and AlwayTenure/NeverTenure consistency

Tao Mao tao.mao at
Thu Nov 7 00:43:42 UTC 2013

Hi all,

A new webrev is updated

It includes a thorough test, which is one good way to examine the changeset.


One point I want to discuss here is the validity of setting 
-XX:MaxTenuringThreshold=16. The reason why I'd consider it valid is: 
when NeverTenure is set, MaxTenuringThreshold is set to 16 while setting 
MaxTenuringThreshold=15 doesn't make sense here. Thus, 
MaxTenuringThreshold=16 needs to be considered a valid setting.

With that being said, I've also modified the test code in to reflect the above decision.


Manual checked the jtreg tests.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the hotspot-gc-dev mailing list