comparison src/cpu/x86/vm/interp_masm_x86_64.cpp @ 3808:341a57af9b0a

6990212: JSR 292 JVMTI MethodEnter hook is not called for JSR 292 bootstrap and target methods Summary: check for single stepping when dispatching invokes from method handles Reviewed-by: coleenp, twisti, kvn, dsamersoff
author never
date Fri, 15 Jul 2011 15:35:50 -0700
parents 2e038ad0c1d0
children fdb992d83a87
comparison
equal deleted inserted replaced
3807:3fbb609d9e96 3808:341a57af9b0a
400 // compiled code in threads for which the event is enabled. Check here for 400 // compiled code in threads for which the event is enabled. Check here for
401 // interp_only_mode if these events CAN be enabled. 401 // interp_only_mode if these events CAN be enabled.
402 // interp_only is an int, on little endian it is sufficient to test the byte only 402 // interp_only is an int, on little endian it is sufficient to test the byte only
403 // Is a cmpl faster? 403 // Is a cmpl faster?
404 cmpb(Address(r15_thread, JavaThread::interp_only_mode_offset()), 0); 404 cmpb(Address(r15_thread, JavaThread::interp_only_mode_offset()), 0);
405 jcc(Assembler::zero, run_compiled_code); 405 jccb(Assembler::zero, run_compiled_code);
406 jmp(Address(method, methodOopDesc::interpreter_entry_offset())); 406 jmp(Address(method, methodOopDesc::interpreter_entry_offset()));
407 bind(run_compiled_code); 407 bind(run_compiled_code);
408 } 408 }
409 409
410 jmp(Address(method, methodOopDesc::from_interpreted_offset())); 410 jmp(Address(method, methodOopDesc::from_interpreted_offset()));