hotspot/src/share/vm/runtime/globals.hpp
changeset 36554 a7eb9ee4680c
parent 36186 06763de0d7ad
child 36555 4f37fd7a5a09
--- a/hotspot/src/share/vm/runtime/globals.hpp	Thu Mar 03 23:57:29 2016 +0300
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Fri Mar 04 01:30:11 2016 +0300
@@ -4162,6 +4162,13 @@
              "in the loaded class C. "                                      \
              "Check (3) is available only in debug builds.")                \
                                                                             \
+  develop_pd(intx, InitArrayShortSize,                                      \
+          "Threshold small size (in bytes) for clearing arrays. "           \
+          "Anything this size or smaller may get converted to discrete "    \
+          "scalar stores.")                                                 \
+          range(0, max_intx)                                                \
+          constraint(InitArrayShortSizeConstraintFunc, AfterErgo)           \
+                                                                            \
   diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false,          \
              "Disable backwards compatibility for compile commands.")       \
                                                                             \