hotspot/src/cpu/zero/vm/globals_zero.hpp
changeset 37996 c851f9ab9816
parent 36823 a901527ab496
child 38273 2634194d7555
--- a/hotspot/src/cpu/zero/vm/globals_zero.hpp	Tue Apr 19 14:21:26 2016 +0200
+++ b/hotspot/src/cpu/zero/vm/globals_zero.hpp	Mon Apr 18 11:30:12 2016 +0200
@@ -43,7 +43,12 @@
 define_pd_global(intx,  OptoLoopAlignment,    16);
 define_pd_global(intx,  InlineFrequencyCount, 100);
 define_pd_global(intx,  InlineSmallCode,      1000);
-define_pd_global(intx,  InitArrayShortSize,   -1); // not used
+
+// not used, but must satisfy following constraints:
+// 1.) <VALUE> must be in the allowed range for intx *and*
+// 2.) <VALUE> % BytesPerLong == 0 so as to not
+//     violate the constraint verifier on JVM start-up.
+define_pd_global(intx,  InitArrayShortSize,   0);
 
 #define DEFAULT_STACK_YELLOW_PAGES (2)
 #define DEFAULT_STACK_RED_PAGES (1)