src/cpu/sparc/vm/interp_masm_sparc.cpp

changeset 1045
70998f2e05ef
parent 857
05db98ed59ba
child 1049
3db67f76d308
     1.1 --- a/src/cpu/sparc/vm/interp_masm_sparc.cpp	Mon Mar 02 14:00:23 2009 -0700
     1.2 +++ b/src/cpu/sparc/vm/interp_masm_sparc.cpp	Mon Mar 02 14:03:03 2009 -0700
     1.3 @@ -2465,7 +2465,10 @@
     1.4  //   InterpreterRuntime::post_method_entry();
     1.5  // }
     1.6  // if (DTraceMethodProbes) {
     1.7 -//   SharedRuntime::dtrace_method_entry(method, reciever);
     1.8 +//   SharedRuntime::dtrace_method_entry(method, receiver);
     1.9 +// }
    1.10 +// if (RC_TRACE_IN_RANGE(0x00001000, 0x00002000)) {
    1.11 +//   SharedRuntime::rc_trace_method_entry(method, receiver);
    1.12  // }
    1.13  
    1.14  void InterpreterMacroAssembler::notify_method_entry() {
    1.15 @@ -2497,6 +2500,13 @@
    1.16        CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
    1.17        G2_thread, Lmethod);
    1.18    }
    1.19 +
    1.20 +  // RedefineClasses() tracing support for obsolete method entry
    1.21 +  if (RC_TRACE_IN_RANGE(0x00001000, 0x00002000)) {
    1.22 +    call_VM_leaf(noreg,
    1.23 +      CAST_FROM_FN_PTR(address, SharedRuntime::rc_trace_method_entry),
    1.24 +      G2_thread, Lmethod);
    1.25 +  }
    1.26  }
    1.27  
    1.28  

mercurial