# HG changeset patch # User brutisso # Date 1412075662 -7200 # Node ID fa14838b03c445fc0f860b1ebf75eb1438cf6f80 # Parent e7d0505c8a30e079cfc8052760fe65a3393a3d84 8059452: G1: Change the default values for G1HeapWastePercent and G1MixedGCLiveThresholdPercent Reviewed-by: tschatzl, jwilhelm diff -r e7d0505c8a30 -r fa14838b03c4 src/share/vm/gc_implementation/g1/g1_globals.hpp --- a/src/share/vm/gc_implementation/g1/g1_globals.hpp Fri Oct 10 15:51:58 2014 +0200 +++ b/src/share/vm/gc_implementation/g1/g1_globals.hpp Tue Sep 30 13:14:22 2014 +0200 @@ -270,12 +270,12 @@ "Percentage (0-100) of the heap size to use as default " \ " maximum young gen size.") \ \ - experimental(uintx, G1MixedGCLiveThresholdPercent, 65, \ + experimental(uintx, G1MixedGCLiveThresholdPercent, 85, \ "Threshold for regions to be considered for inclusion in the " \ "collection set of mixed GCs. " \ "Regions with live bytes exceeding this will not be collected.") \ \ - product(uintx, G1HeapWastePercent, 10, \ + product(uintx, G1HeapWastePercent, 5, \ "Amount of space, expressed as a percentage of the heap size, " \ "that G1 is willing not to collect to avoid expensive GCs.") \ \