< prev index next >

src/share/vm/jvmci/jvmciCompilerToVM.cpp

Print this page

        

@@ -149,12 +149,12 @@
 
 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();
 
   SharedRuntime_ic_miss_stub = SharedRuntime::get_ic_miss_stub();
   SharedRuntime_handle_wrong_method_stub = SharedRuntime::get_handle_wrong_method_stub();
< prev index next >