mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
Merge
This commit is contained in:
commit
b2ead5ac2d
142 changed files with 12761 additions and 10109 deletions
|
@ -2927,7 +2927,7 @@ static const intArray* sort_methods(Array<Method*>* methods) {
|
|||
// 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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue