--- a/hotspot/src/share/vm/runtime/globals.hpp Wed Mar 16 16:42:30 2016 +0100
+++ b/hotspot/src/share/vm/runtime/globals.hpp Wed Mar 16 16:21:36 2016 +0000
@@ -2212,10 +2212,10 @@
"Decay factor to TenuredGenerationSizeIncrement") \
range(1, max_uintx) \
\
- product(uintx, MaxGCPauseMillis, max_uintx, \
+ product(uintx, MaxGCPauseMillis, max_uintx - 1, \
"Adaptive size policy maximum GC pause time goal in millisecond, "\
"or (G1 Only) the maximum GC time per MMU time slice") \
- range(1, max_uintx) \
+ range(1, max_uintx - 1) \
constraint(MaxGCPauseMillisConstraintFunc,AfterMemoryInit) \
\
product(uintx, GCPauseIntervalMillis, 0, \