diff -r 93f24e7b3c43 -r e0b822facc03 hotspot/src/share/vm/classfile/classFileParser.cpp --- a/hotspot/src/share/vm/classfile/classFileParser.cpp Mon Apr 11 21:42:55 2016 +0300 +++ b/hotspot/src/share/vm/classfile/classFileParser.cpp Wed Apr 06 18:51:03 2016 +0300 @@ -2927,7 +2927,7 @@ // If JVMTI original method ordering or sharing is enabled construct int // array remembering the original ordering if (JvmtiExport::can_maintain_original_method_order() || DumpSharedSpaces) { - method_ordering = new intArray(length); + method_ordering = new intArray(length, length, -1); for (int index = 0; index < length; index++) { Method* const m = methods->at(index); const int old_index = m->vtable_index();