8297992: Tests fail after JDK-8297215 due to lack of @enablePreview

Reviewed-by: darcy
This commit is contained in:
Jie Fu 2022-12-02 06:04:10 +00:00
parent b035056d28
commit 11ba7591df
3 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@
* @summary Test Thread.holdsLock when lock held by carrier thread
* @requires vm.continuations & vm.debug
* @modules java.base/java.lang:+open
* @enablePreview
* @run testng/othervm -XX:+UseHeavyMonitors HoldsLock
*/

View File

@ -35,6 +35,7 @@
* @test
* @requires vm.debug == true & vm.continuations
* @modules java.base/java.lang:+open
* @enablePreview
* @compile GetStackTraceALot.java ../ThreadBuilders.java
* @run main/timeout=300 GetStackTraceALot 1000
*/

View File

@ -47,6 +47,7 @@
* @modules java.base/jdk.internal.vm
* @build java.base/java.lang.StackWalkerHelper
*
* @enablePreview
* @run testng/othervm -XX:+VerifyStack -Xint Basic
* @run testng/othervm -XX:+VerifyStack -Xcomp -XX:TieredStopAtLevel=3 -XX:CompileOnly=jdk/internal/vm/Continuation,Basic Basic
* @run testng/othervm -XX:+VerifyStack -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk/internal/vm/Continuation,Basic Basic