diff options
| -rw-r--r-- | test/855-native/src-art/Main.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/855-native/src-art/Main.java b/test/855-native/src-art/Main.java index f8c9895266..2ac83e5c36 100644 --- a/test/855-native/src-art/Main.java +++ b/test/855-native/src-art/Main.java @@ -41,6 +41,11 @@ public class Main { public static void main(String[] args) throws Exception { System.loadLibrary(args[0]); + // In case we already run in tracing mode, disable it. + if (VMDebug.getMethodTracingMode() != 0) { + VMDebug.stopMethodTracing(); + } + File tempFile = createTempFile(); // Start method tracing so that native methods get the generic JNI stub. |