Mercurial > hg > truffle
comparison src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 612:afa80fa86d22
Merge
author | dcubed |
---|---|
date | Mon, 02 Mar 2009 14:43:36 -0700 |
parents | c9004fe53695 70998f2e05ef |
children | 3db67f76d308 |
comparison
equal
deleted
inserted
replaced
593:1b68c738c0d9 | 612:afa80fa86d22 |
---|---|
1506 CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry), | 1506 CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry), |
1507 r15_thread, c_rarg1); | 1507 r15_thread, c_rarg1); |
1508 restore_args(masm, total_c_args, c_arg, out_regs); | 1508 restore_args(masm, total_c_args, c_arg, out_regs); |
1509 } | 1509 } |
1510 | 1510 |
1511 // RedefineClasses() tracing support for obsolete method entry | |
1512 if (RC_TRACE_IN_RANGE(0x00001000, 0x00002000)) { | |
1513 // protect the args we've loaded | |
1514 save_args(masm, total_c_args, c_arg, out_regs); | |
1515 __ movoop(c_rarg1, JNIHandles::make_local(method())); | |
1516 __ call_VM_leaf( | |
1517 CAST_FROM_FN_PTR(address, SharedRuntime::rc_trace_method_entry), | |
1518 r15_thread, c_rarg1); | |
1519 restore_args(masm, total_c_args, c_arg, out_regs); | |
1520 } | |
1521 | |
1511 // Lock a synchronized method | 1522 // Lock a synchronized method |
1512 | 1523 |
1513 // Register definitions used by locking and unlocking | 1524 // Register definitions used by locking and unlocking |
1514 | 1525 |
1515 const Register swap_reg = rax; // Must use rax for cmpxchg instruction | 1526 const Register swap_reg = rax; // Must use rax for cmpxchg instruction |