Mercurial > hg > truffle
comparison src/cpu/x86/vm/interp_masm_x86_64.cpp @ 610:70998f2e05ef
6805864: 4/3 Problem with jvmti->redefineClasses: some methods don't get redefined
Summary: Remove incorrect optimization in klassItable::adjust_method_entries(). Add RedefineClasses() tracing support for obsolete method entry.
Reviewed-by: acorn, swamyv
author | dcubed |
---|---|
date | Mon, 02 Mar 2009 14:03:03 -0700 |
parents | f8199438385b |
children | afa80fa86d22 |
comparison
equal
deleted
inserted
replaced
609:ea20d7ce26b0 | 610:70998f2e05ef |
---|---|
1591 SkipIfEqual skip(this, &DTraceMethodProbes, false); | 1591 SkipIfEqual skip(this, &DTraceMethodProbes, false); |
1592 get_method(c_rarg1); | 1592 get_method(c_rarg1); |
1593 call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry), | 1593 call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry), |
1594 r15_thread, c_rarg1); | 1594 r15_thread, c_rarg1); |
1595 } | 1595 } |
1596 | |
1597 // RedefineClasses() tracing support for obsolete method entry | |
1598 if (RC_TRACE_IN_RANGE(0x00001000, 0x00002000)) { | |
1599 get_method(c_rarg1); | |
1600 call_VM_leaf( | |
1601 CAST_FROM_FN_PTR(address, SharedRuntime::rc_trace_method_entry), | |
1602 r15_thread, c_rarg1); | |
1603 } | |
1596 } | 1604 } |
1597 | 1605 |
1598 | 1606 |
1599 void InterpreterMacroAssembler::notify_method_exit( | 1607 void InterpreterMacroAssembler::notify_method_exit( |
1600 TosState state, NotifyMethodExitMode mode) { | 1608 TosState state, NotifyMethodExitMode mode) { |