From 761774a120f4aa326da3c55a000dacc5549762e9 Mon Sep 17 00:00:00 2001 From: Serguei Spitsyn Date: Fri, 10 Jan 2025 23:49:03 +0000 Subject: [PATCH] 8346143: add ClearAllFramePops function to speedup debugger single stepping in some cases Reviewed-by: cjplummer, amenkov --- src/hotspot/share/prims/jvmti.xml | 33 +++- src/hotspot/share/prims/jvmtiEnv.cpp | 29 ++- src/hotspot/share/prims/jvmtiEnvBase.cpp | 25 ++- src/hotspot/share/prims/jvmtiEnvBase.hpp | 17 +- .../share/prims/jvmtiEnvThreadState.cpp | 31 ++- .../share/prims/jvmtiEnvThreadState.hpp | 4 +- .../share/prims/jvmtiEventController.cpp | 18 +- .../share/prims/jvmtiEventController.hpp | 3 +- src/hotspot/share/prims/jvmtiExport.cpp | 7 +- .../ClearAllFramePops/ClearAllFramePops.java | 79 ++++++++ .../libClearAllFramePops.cpp | 176 ++++++++++++++++++ 11 files changed, 386 insertions(+), 36 deletions(-) create mode 100644 test/hotspot/jtreg/serviceability/jvmti/events/FramePop/ClearAllFramePops/ClearAllFramePops.java create mode 100644 test/hotspot/jtreg/serviceability/jvmti/events/FramePop/ClearAllFramePops/libClearAllFramePops.cpp diff --git a/src/hotspot/share/prims/jvmti.xml b/src/hotspot/share/prims/jvmti.xml index b63dfdfedb1..4bff3230c9e 100644 --- a/src/hotspot/share/prims/jvmti.xml +++ b/src/hotspot/share/prims/jvmti.xml @@ -1,7 +1,7 @@