From d11c004a5df78a67e6e9021492a8e096de336db3 Mon Sep 17 00:00:00 2001 From: Mythri Alle Date: Thu, 23 May 2024 07:38:46 +0000 Subject: 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 --- test/jvmti-common/Trace.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/jvmti-common/Trace.java') 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) { -- cgit v1.2.3-59-g8ed1b