Skip to content

8362834: Several runtime/Thread tests should mark as /native #26411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand All @@ -26,7 +26,7 @@
* @bug 8283044
* @summary Stress delivery of asynchronous exceptions while target is at monitorenter
* @library /test/hotspot/jtreg/testlibrary
* @run main/othervm AsyncExceptionOnMonitorEnter 0
* @run main/othervm/native AsyncExceptionOnMonitorEnter 0
* @run main/othervm/native -agentlib:AsyncExceptionOnMonitorEnter AsyncExceptionOnMonitorEnter 1
*/

Expand Down
5 changes: 3 additions & 2 deletions test/hotspot/jtreg/runtime/Thread/AsyncExceptionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@
* @requires vm.compiler1.enabled | vm.compiler2.enabled
* @summary Stress delivery of asynchronous exceptions.
* @library /test/hotspot/jtreg/testlibrary
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+StressCompiledExceptionHandlers
* @run main/othervm/native
* -XX:+IgnoreUnrecognizedVMOptions -XX:+StressCompiledExceptionHandlers
* -Xcomp -XX:TieredStopAtLevel=3
* -XX:CompileCommand=dontinline,AsyncExceptionTest::internalRun2
* -XX:CompileCommand=compileonly,AsyncExceptionTest::internalRun1
* -XX:CompileCommand=compileonly,AsyncExceptionTest::internalRun2
* AsyncExceptionTest
* @run main/othervm -Xcomp
* @run main/othervm/native -Xcomp
* -XX:CompileCommand=dontinline,AsyncExceptionTest::internalRun2
* -XX:CompileCommand=compileonly,AsyncExceptionTest::internalRun1
* -XX:CompileCommand=compileonly,AsyncExceptionTest::internalRun2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @summary Check that Ctrl-\ or Ctrl-Break (on Windows) causes HotSpot VM to print a full thread dump.
* @library /vmTestbase
* /test/lib
* @run driver TestBreakSignalThreadDump
* @run main/native TestBreakSignalThreadDump
*/

/*
Expand All @@ -42,7 +42,7 @@
* @requires !vm.asan
* @library /vmTestbase
* /test/lib
* @run driver TestBreakSignalThreadDump load_libjsig
* @run main/native TestBreakSignalThreadDump load_libjsig
*/

import java.nio.file.Files;
Expand Down