8145190: MinTLABSize can cause overflow problem with CMS GC
Summary: Changed max range of MinTLABSize from max_uintx to max_uintx/2
Reviewed-by: jwilhelm, tbenson
--- a/hotspot/src/share/vm/runtime/globals.hpp Fri Jan 29 18:17:44 2016 +0000
+++ b/hotspot/src/share/vm/runtime/globals.hpp Fri Jan 29 16:25:10 2016 -0800
@@ -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, \