src/cpu/x86/vm/sharedRuntime_x86_64.cpp

changeset 1047
afa80fa86d22
parent 959
c9004fe53695
parent 1045
70998f2e05ef
child 1049
3db67f76d308
     1.1 --- a/src/cpu/x86/vm/sharedRuntime_x86_64.cpp	Sun Feb 22 17:21:13 2009 -0800
     1.2 +++ b/src/cpu/x86/vm/sharedRuntime_x86_64.cpp	Mon Mar 02 14:43:36 2009 -0700
     1.3 @@ -1508,6 +1508,17 @@
     1.4      restore_args(masm, total_c_args, c_arg, out_regs);
     1.5    }
     1.6  
     1.7 +  // RedefineClasses() tracing support for obsolete method entry
     1.8 +  if (RC_TRACE_IN_RANGE(0x00001000, 0x00002000)) {
     1.9 +    // protect the args we've loaded
    1.10 +    save_args(masm, total_c_args, c_arg, out_regs);
    1.11 +    __ movoop(c_rarg1, JNIHandles::make_local(method()));
    1.12 +    __ call_VM_leaf(
    1.13 +      CAST_FROM_FN_PTR(address, SharedRuntime::rc_trace_method_entry),
    1.14 +      r15_thread, c_rarg1);
    1.15 +    restore_args(masm, total_c_args, c_arg, out_regs);
    1.16 +  }
    1.17 +
    1.18    // Lock a synchronized method
    1.19  
    1.20    // Register definitions used by locking and unlocking

mercurial