< prev index next >

src/cpu/x86/vm/templateInterpreterGenerator_x86.cpp

Print this page

        

@@ -684,10 +684,14 @@
 
   __ movptr(rdx, Address(rbx, Method::const_offset()));
   __ movptr(rdx, Address(rdx, ConstMethod::constants_offset()));
   __ movptr(rdx, Address(rdx, ConstantPool::cache_offset_in_bytes()));
   __ push(rdx); // set constant pool cache
+  const Register thread1 = NOT_LP64(rdx) LP64_ONLY(r15_thread);
+  NOT_LP64(__ get_thread(thread1));
+  __ movptr(rdx, Address(thread1, JavaThread::vt_alloc_ptr_offset()));
+  __ push(rdx); // value type allocation pointer when activation is created
   __ push(rlocals); // set locals pointer
   if (native_call) {
     __ push(0); // no bcp
   } else {
     __ push(rbcp); // set bcp
< prev index next >