Skip to content

Commit 0688459

Browse files
author
duke
committed
Backport 699b8112f8da7ceef2aa2a3ddb326aee88b29f8c
1 parent 987af5a commit 0688459

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

test/hotspot/jtreg/runtime/Thread/AsyncExceptionOnMonitorEnter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2022, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,7 @@
2626
* @bug 8283044
2727
* @summary Stress delivery of asynchronous exceptions while target is at monitorenter
2828
* @library /test/hotspot/jtreg/testlibrary
29-
* @run main/othervm AsyncExceptionOnMonitorEnter 0
29+
* @run main/othervm/native AsyncExceptionOnMonitorEnter 0
3030
* @run main/othervm/native -agentlib:AsyncExceptionOnMonitorEnter AsyncExceptionOnMonitorEnter 1
3131
*/
3232

test/hotspot/jtreg/runtime/Thread/AsyncExceptionTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@
2727
* @requires vm.compiler1.enabled | vm.compiler2.enabled
2828
* @summary Stress delivery of asynchronous exceptions.
2929
* @library /test/hotspot/jtreg/testlibrary
30-
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+StressCompiledExceptionHandlers
30+
* @run main/othervm/native
31+
* -XX:+IgnoreUnrecognizedVMOptions -XX:+StressCompiledExceptionHandlers
3132
* -Xcomp -XX:TieredStopAtLevel=3
3233
* -XX:CompileCommand=dontinline,AsyncExceptionTest::internalRun2
3334
* -XX:CompileCommand=compileonly,AsyncExceptionTest::internalRun1
3435
* -XX:CompileCommand=compileonly,AsyncExceptionTest::internalRun2
3536
* AsyncExceptionTest
36-
* @run main/othervm -Xcomp
37+
* @run main/othervm/native -Xcomp
3738
* -XX:CompileCommand=dontinline,AsyncExceptionTest::internalRun2
3839
* -XX:CompileCommand=compileonly,AsyncExceptionTest::internalRun1
3940
* -XX:CompileCommand=compileonly,AsyncExceptionTest::internalRun2

test/hotspot/jtreg/runtime/Thread/TestBreakSignalThreadDump.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @summary Check that Ctrl-\ or Ctrl-Break (on Windows) causes HotSpot VM to print a full thread dump.
2929
* @library /vmTestbase
3030
* /test/lib
31-
* @run driver TestBreakSignalThreadDump
31+
* @run main/native TestBreakSignalThreadDump
3232
*/
3333

3434
/*
@@ -42,7 +42,7 @@
4242
* @requires !vm.asan
4343
* @library /vmTestbase
4444
* /test/lib
45-
* @run driver TestBreakSignalThreadDump load_libjsig
45+
* @run main/native TestBreakSignalThreadDump load_libjsig
4646
*/
4747

4848
import java.nio.file.Files;

0 commit comments

Comments
 (0)