hotspot/src/share/vm/runtime/globals.hpp
changeset 37054 31d83caf01e8
parent 37044 f1965d5d1055
child 37075 65bfef79cfb9
--- a/hotspot/src/share/vm/runtime/globals.hpp	Wed Mar 09 20:37:04 2016 +0000
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Wed Mar 09 15:37:33 2016 -0800
@@ -1901,7 +1901,8 @@
                                                                             \
   product(uintx, CMSSamplingGrain, 16*K,                                    \
           "The minimum distance between eden samples for CMS (see above)")  \
-          range(1, max_uintx)                                               \
+          range(ObjectAlignmentInBytes, max_uintx)                          \
+          constraint(CMSSamplingGrainConstraintFunc,AfterMemoryInit)        \
                                                                             \
   product(bool, CMSScavengeBeforeRemark, false,                             \
           "Attempt scavenge before the CMS remark step")                    \