RFR (XXS): JDK-8059452: G1: Change the default values for G1HeapWastePercent and G1MixedGCLiveThresholdPercent

Bengt Rutisson bengt.rutisson at oracle.com
Tue Sep 30 08:02:28 UTC 2014


Hi everyone,

Can I have a couple of reviews for this small change to update two 
default values:

http://cr.openjdk.java.net/~brutisso/8059452/webrev.00/

https://bugs.openjdk.java.net/browse/JDK-8059452

 From the bug report:

When the flags G1HeapWastePercent and G1MixedGCLiveThresholdPercent were 
introduced their default values were picked without much performance 
analysis.

Recent performance runs indicate that G1HeapWastePercent often benefit 
from a lower value and that G1MixedGCLiveThresholdPercent benefit from a 
higher value.

Suggestion is to change the default for G1HeapWastePercent to 5 (used to 
be 10) adn G1MixedGCLiveThresholdPercent to 85 (used to be 65).

Thanks,
Bengt



More information about the hotspot-gc-dev mailing list