mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6827505: sizing logic for vtable and itable stubs needs self-check
Asserts and comments to help maintain the correct sizing of certain stubs Reviewed-by: kvn
This commit is contained in:
parent
ca3a3504be
commit
318da3f68c
4 changed files with 130 additions and 2 deletions
|
@ -107,13 +107,11 @@ address VtableStubs::create_stub(bool is_vtable_stub, int vtable_index, methodOo
|
|||
s = create_itable_stub(vtable_index);
|
||||
}
|
||||
enter(is_vtable_stub, vtable_index, s);
|
||||
#ifndef PRODUCT
|
||||
if (PrintAdapterHandlers) {
|
||||
tty->print_cr("Decoding VtableStub %s[%d]@%d",
|
||||
is_vtable_stub? "vtbl": "itbl", vtable_index, VtableStub::receiver_location());
|
||||
Disassembler::decode(s->code_begin(), s->code_end());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
return s->entry_point();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue