8147461: Use byte offsets for vtable start and vtable length offsets

Reviewed-by: cjplummer, coleenp, dnsimon
This commit is contained in:
Mikael Gerdin 2016-01-27 14:50:56 +01:00
parent 1fdb299974
commit 1163c0a2cb
21 changed files with 73 additions and 77 deletions

View file

@ -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();