summaryrefslogtreecommitdiff
path: root/test/jvmti-common/Trace.java
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2024-05-23 07:38:46 +0000
committer Mythri Alle <mythria@google.com> 2024-05-23 10:21:01 +0000
commitd11c004a5df78a67e6e9021492a8e096de336db3 (patch)
treea0459ea58fc12779b5ff4c362e138e7595394921 /test/jvmti-common/Trace.java
parent068bee12ad89e9ed46da04ec8791cd00d917b6f5 (diff)
Reland "Report method unwind events for native methods"
This reverts commit db0551d164783866acf0cdcf9a7741ee6f21f0f2. Reason for revert: Updated test to a use method declared in the Test class instead of the hidden java.lang.classForName. Change-Id: Ifa725b5465163fa73e4808d87a2b205b92aa110f
Diffstat (limited to 'test/jvmti-common/Trace.java')
-rw-r--r--test/jvmti-common/Trace.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/jvmti-common/Trace.java b/test/jvmti-common/Trace.java
index 8999bb1368..3df1737c91 100644
--- a/test/jvmti-common/Trace.java
+++ b/test/jvmti-common/Trace.java
@@ -28,6 +28,7 @@ public class Trace {
Method singleStep,
Thread thr);
public static native void disableTracing(Thread thr);
+ public static native void nativeEnableFramePopEvents();
public static void enableFieldTracing(Class<?> methodClass,
Method fieldAccess,
@@ -43,6 +44,10 @@ public class Trace {
enableTracing(methodClass, entryMethod, exitMethod, null, null, null, thr);
}
+ public static void enableFramePopEvents() {
+ nativeEnableFramePopEvents();
+ }
+
public static void enableSingleStepTracing(Class<?> methodClass,
Method singleStep,
Thread thr) {