src/cpu/x86/vm/sharedRuntime_x86_32.cpp

changeset 1063
7bb995fbd3c0
parent 1014
0fbdb4381b99
parent 1047
afa80fa86d22
child 1361
c8e2135f7e30
equal deleted inserted replaced
1015:ce2272390558 1063:7bb995fbd3c0
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)

mercurial