--- old/src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp 2016-03-01 02:14:13.572415932 +0300 +++ new/src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp 2016-03-01 02:14:13.512416210 +0300 @@ -354,6 +354,14 @@ return Flag::SUCCESS; } +Flag::Error InitArrayShortSizeConstraintFunc(intx value, bool verbose) { + if (value % BytesPerLong != 0) { + return Flag::VIOLATES_CONSTRAINT; + } else { + return Flag::SUCCESS; + } +} + #ifdef COMPILER2 Flag::Error InteriorEntryAlignmentConstraintFunc(intx value, bool verbose) { if (InteriorEntryAlignment > CodeEntryAlignment) {