< prev index next >

src/hotspot/cpu/x86/c2_CodeStubs_x86.cpp

Print this page
*** 141,6 ***
--- 141,19 ---
      __ xorl(rax, rax);
      __ jmp(unlocked_continuation());
    }
  }
  
+ #ifdef _LP64
+ int C2LoadNKlassStub::max_size() const {
+   return 10;
+ }
+ 
+ void C2LoadNKlassStub::emit(C2_MacroAssembler& masm) {
+   __ bind(entry());
+   Register d = dst();
+   __ movq(d, Address(d, OM_OFFSET_NO_MONITOR_VALUE_TAG(header)));
+   __ jmp(continuation());
+ }
+ #endif
+ 
  #undef __
< prev index next >