Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/interp_masm_x86_32.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 | 9ee9cf798b59 |
children | afa80fa86d22 |
comparison
equal
deleted
inserted
replaced
609:ea20d7ce26b0 | 610:70998f2e05ef |
---|---|
1510 get_thread(rcx); | 1510 get_thread(rcx); |
1511 get_method(rbx); | 1511 get_method(rbx); |
1512 call_VM_leaf( | 1512 call_VM_leaf( |
1513 CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry), rcx, rbx); | 1513 CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry), rcx, rbx); |
1514 } | 1514 } |
1515 | |
1516 // RedefineClasses() tracing support for obsolete method entry | |
1517 if (RC_TRACE_IN_RANGE(0x00001000, 0x00002000)) { | |
1518 get_thread(rcx); | |
1519 get_method(rbx); | |
1520 call_VM_leaf( | |
1521 CAST_FROM_FN_PTR(address, SharedRuntime::rc_trace_method_entry), | |
1522 rcx, rbx); | |
1523 } | |
1515 } | 1524 } |
1516 | 1525 |
1517 | 1526 |
1518 void InterpreterMacroAssembler::notify_method_exit( | 1527 void InterpreterMacroAssembler::notify_method_exit( |
1519 TosState state, NotifyMethodExitMode mode) { | 1528 TosState state, NotifyMethodExitMode mode) { |