hotspot/src/cpu/x86/vm/sharedRuntime_x86_32.cpp
changeset 2136 c55428da3cec
parent 1066 717c3345024f
child 2138 a88fa6fb3834
equal deleted inserted replaced
2135:f82c3012ec86 2136:c55428da3cec
  1530     __ call_VM_leaf(
  1530     __ call_VM_leaf(
  1531          CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
  1531          CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
  1532          thread, rax);
  1532          thread, rax);
  1533   }
  1533   }
  1534 
  1534 
       
  1535   // RedefineClasses() tracing support for obsolete method entry
       
  1536   if (RC_TRACE_IN_RANGE(0x00001000, 0x00002000)) {
       
  1537     __ movoop(rax, JNIHandles::make_local(method()));
       
  1538     __ call_VM_leaf(
       
  1539          CAST_FROM_FN_PTR(address, SharedRuntime::rc_trace_method_entry),
       
  1540          thread, rax);
       
  1541   }
       
  1542 
  1535 
  1543 
  1536   // These are register definitions we need for locking/unlocking
  1544   // These are register definitions we need for locking/unlocking
  1537   const Register swap_reg = rax;  // Must use rax, for cmpxchg instruction
  1545   const Register swap_reg = rax;  // Must use rax, for cmpxchg instruction
  1538   const Register obj_reg  = rcx;  // Will contain the oop
  1546   const Register obj_reg  = rcx;  // Will contain the oop
  1539   const Register lock_reg = rdx;  // Address of compiler lock object (BasicLock)
  1547   const Register lock_reg = rdx;  // Address of compiler lock object (BasicLock)