diff options
author | never <none@none> | 2011-07-15 15:35:50 -0700 |
---|---|---|
committer | never <none@none> | 2011-07-15 15:35:50 -0700 |
commit | b52cc7882c3c6d789b246850db890f6e05597268 (patch) | |
tree | 33b4e071694b05d98c3c98c8d407ff46df72a4b1 /src/cpu/x86/vm/methodHandles_x86.hpp | |
parent | fe59fe4d17f67abbead69492454cdeb08db0cc58 (diff) |
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
Diffstat (limited to 'src/cpu/x86/vm/methodHandles_x86.hpp')
-rw-r--r-- | src/cpu/x86/vm/methodHandles_x86.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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() { |