Merge
authorcoleenp
Wed, 20 Apr 2016 03:12:01 +0000
changeset 37998 daf6ed16c5db
parent 37997 db6541410dfb (diff)
parent 37994 1a816b464178 (current diff)
child 37999 be1f77668cf1
Merge
--- a/hotspot/src/cpu/zero/vm/globals_zero.hpp	Tue Apr 19 11:03:37 2016 -0400
+++ b/hotspot/src/cpu/zero/vm/globals_zero.hpp	Wed Apr 20 03:12:01 2016 +0000
@@ -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)
--- a/hotspot/src/share/vm/gc/g1/g1EvacStats.cpp	Tue Apr 19 11:03:37 2016 -0400
+++ b/hotspot/src/share/vm/gc/g1/g1EvacStats.cpp	Wed Apr 20 03:12:01 2016 +0000
@@ -24,6 +24,7 @@
 
 #include "precompiled.hpp"
 #include "memory/allocation.inline.hpp"
+#include "gc/g1/g1_globals.hpp"
 #include "gc/g1/g1EvacStats.hpp"
 #include "gc/shared/gcId.hpp"
 #include "logging/log.hpp"