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

Reviewed-by: dholmes
This commit is contained in:
SendaoYan 2025-07-22 01:05:35 +00:00
parent 0385975f44
commit 699b8112f8
3 changed files with 7 additions and 6 deletions

View File

@ -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
@ -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
*/

View File

@ -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

View File

@ -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
*/
/*
@ -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;