--- a/hotspot/src/share/vm/runtime/globals.hpp Wed Mar 16 12:08:29 2016 +0000
+++ b/hotspot/src/share/vm/runtime/globals.hpp Wed Mar 16 15:16:50 2016 +0100
@@ -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, \