mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6990212: JSR 292 JVMTI MethodEnter hook is not called for JSR 292 bootstrap and target methods
Check for single stepping when dispatching invokes from method handles Reviewed-by: coleenp, twisti, kvn, dsamersoff
This commit is contained in:
parent
cf91e8dbca
commit
8acdd5ce55
7 changed files with 139 additions and 40 deletions
|
@ -403,9 +403,9 @@ void InterpreterMacroAssembler::jump_from_interpreted(Register method, Register
|
|||
// interp_only_mode if these events CAN be enabled.
|
||||
get_thread(temp);
|
||||
// interp_only is an int, on little endian it is sufficient to test the byte only
|
||||
// Is a cmpl faster (ce
|
||||
// Is a cmpl faster?
|
||||
cmpb(Address(temp, JavaThread::interp_only_mode_offset()), 0);
|
||||
jcc(Assembler::zero, run_compiled_code);
|
||||
jccb(Assembler::zero, run_compiled_code);
|
||||
jmp(Address(method, methodOopDesc::interpreter_entry_offset()));
|
||||
bind(run_compiled_code);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue