8145190: MinTLABSize can cause overflow problem with CMS GC
Changed max range of MinTLABSize from max_uintx to max_uintx/2
Reviewed-by: jwilhelm, tbenson
diff --git a/hotspot/src/share/vm/runtime/globals.hpp b/hotspot/src/share/vm/runtime/globals.hpp
index 0c45b3b..5cfbf11 100644
--- a/hotspot/src/share/vm/runtime/globals.hpp
+++ b/hotspot/src/share/vm/runtime/globals.hpp
@@ -3260,7 +3260,7 @@
\
product(size_t, MinTLABSize, 2*K, \
"Minimum allowed TLAB size (in bytes)") \
- range(1, max_uintx) \
+ range(1, max_uintx/2) \
constraint(MinTLABSizeConstraintFunc,AfterMemoryInit) \
\
product(size_t, TLABSize, 0, \