src/cpu/x86/vm/sharedRuntime_x86_32.cpp

changeset 1047
afa80fa86d22
parent 959
c9004fe53695
parent 1045
70998f2e05ef
child 1063
7bb995fbd3c0
     1.1 --- a/src/cpu/x86/vm/sharedRuntime_x86_32.cpp	Sun Feb 22 17:21:13 2009 -0800
     1.2 +++ b/src/cpu/x86/vm/sharedRuntime_x86_32.cpp	Mon Mar 02 14:43:36 2009 -0700
     1.3 @@ -1534,6 +1534,13 @@
     1.4           thread, rax);
     1.5    }
     1.6  
     1.7 +  // RedefineClasses() tracing support for obsolete method entry
     1.8 +  if (RC_TRACE_IN_RANGE(0x00001000, 0x00002000)) {
     1.9 +    __ movoop(rax, JNIHandles::make_local(method()));
    1.10 +    __ call_VM_leaf(
    1.11 +         CAST_FROM_FN_PTR(address, SharedRuntime::rc_trace_method_entry),
    1.12 +         thread, rax);
    1.13 +  }
    1.14  
    1.15    // These are register definitions we need for locking/unlocking
    1.16    const Register swap_reg = rax;  // Must use rax, for cmpxchg instruction

mercurial