diff -r 3721b7aa3a0d -r aa4049b4184a hotspot/src/share/vm/gc/g1/g1_globals.hpp --- a/hotspot/src/share/vm/gc/g1/g1_globals.hpp Mon Jul 27 14:05:55 2015 -0400 +++ b/hotspot/src/share/vm/gc/g1/g1_globals.hpp Mon Jul 27 13:56:26 2015 -0700 @@ -252,12 +252,12 @@ "Percentage (0-100) of the heap size to use as default " \ " maximum young gen size.") \ range(0, 100) \ - constraint(G1MaxNewSizePercentConstraintFunc) \ + constraint(G1MaxNewSizePercentConstraintFunc,AfterErgo) \ \ experimental(uintx, G1NewSizePercent, 5, \ "Percentage (0-100) of the heap size to use as default " \ "minimum young gen size.") \ - constraint(G1NewSizePercentConstraintFunc) \ + constraint(G1NewSizePercentConstraintFunc,AfterErgo) \ \ experimental(uintx, G1MixedGCLiveThresholdPercent, 85, \ "Threshold for regions to be considered for inclusion in the " \