hotspot/src/share/vm/classfile/classFileParser.cpp
changeset 38031 e0b822facc03
parent 36508 5f9eee6b383b
child 38033 996ce936543f
--- 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();