mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8147461: Use byte offsets for vtable start and vtable length offsets
Reviewed-by: cjplummer, coleenp, dnsimon
This commit is contained in:
parent
1fdb299974
commit
1163c0a2cb
21 changed files with 73 additions and 77 deletions
|
@ -151,8 +151,8 @@ jbyte* CompilerToVM::Data::cardtable_start_address;
|
|||
int CompilerToVM::Data::cardtable_shift;
|
||||
|
||||
void CompilerToVM::Data::initialize() {
|
||||
InstanceKlass_vtable_start_offset = InstanceKlass::vtable_start_offset();
|
||||
InstanceKlass_vtable_length_offset = InstanceKlass::vtable_length_offset() * HeapWordSize;
|
||||
InstanceKlass_vtable_start_offset = in_bytes(InstanceKlass::vtable_start_offset());
|
||||
InstanceKlass_vtable_length_offset = in_bytes(InstanceKlass::vtable_length_offset());
|
||||
|
||||
Method_extra_stack_entries = Method::extra_stack_entries();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue