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

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


Hi all,

A new webrev is updated
http://cr.openjdk.java.net/~tamao/6521376/webrev.03/

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

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 
TestInitialTenuringThreshold.java to reflect the above decision.

Test:

Manual checked the jtreg tests.

Thanks.
Tao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20131106/9f2fb91d/attachment.htm>


More information about the hotspot-gc-dev mailing list