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