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

Thomas Schatzl thomas.schatzl at oracle.com
Tue Sep 30 10:02:40 UTC 2014


On Tue, 2014-09-30 at 10:02 +0200, Bengt Rutisson wrote:
> 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).

Fine with me.

Thanks,
  Thomas





More information about the hotspot-gc-dev mailing list