8059452: G1: Change the default values for G1HeapWastePercent and G1MixedGCLiveThresholdPercent
authorbrutisso
Tue, 30 Sep 2014 13:14:22 +0200
changeset 26936 504bad404be6
parent 26935 bcad74f0aa70
child 26937 dd2b0f6de283
8059452: G1: Change the default values for G1HeapWastePercent and G1MixedGCLiveThresholdPercent Reviewed-by: tschatzl, jwilhelm
hotspot/src/share/vm/gc_implementation/g1/g1_globals.hpp
--- a/hotspot/src/share/vm/gc_implementation/g1/g1_globals.hpp	Mon Sep 29 12:05:44 2014 +0000
+++ b/hotspot/src/share/vm/gc_implementation/g1/g1_globals.hpp	Tue Sep 30 13:14:22 2014 +0200
@@ -262,12 +262,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.")      \
                                                                             \