Mercurial > hg > truffle
comparison src/cpu/x86/vm/sharedRuntime_x86_32.cpp @ 612:afa80fa86d22
Merge
author | dcubed |
---|---|
date | Mon, 02 Mar 2009 14:43:36 -0700 |
parents | c9004fe53695 70998f2e05ef |
children | 7bb995fbd3c0 |
comparison
equal
deleted
inserted
replaced
593:1b68c738c0d9 | 612:afa80fa86d22 |
---|---|
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) |