From b52cc7882c3c6d789b246850db890f6e05597268 Mon Sep 17 00:00:00 2001 From: never Date: Fri, 15 Jul 2011 15:35:50 -0700 Subject: 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 --- src/cpu/x86/vm/methodHandles_x86.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cpu/x86/vm/methodHandles_x86.hpp') diff --git a/src/cpu/x86/vm/methodHandles_x86.hpp b/src/cpu/x86/vm/methodHandles_x86.hpp index 6361e20fa..c4ed0b706 100644 --- a/src/cpu/x86/vm/methodHandles_x86.hpp +++ b/src/cpu/x86/vm/methodHandles_x86.hpp @@ -291,6 +291,10 @@ public: "reference is a MH"); } + // Similar to InterpreterMacroAssembler::jump_from_interpreted. + // Takes care of special dispatch from single stepping too. + static void jump_from_method_handle(MacroAssembler* _masm, Register method, Register temp); + static void trace_method_handle(MacroAssembler* _masm, const char* adaptername) PRODUCT_RETURN; static Register saved_last_sp_register() { -- cgit v1.2.3