< prev index next >

test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendWithInterruptLock/SuspendWithInterruptLock.java

Print this page
@@ -30,17 +30,24 @@
   * @run main/othervm SuspendWithInterruptLock
   */
  
  /**
   * @test id=xint
-  * @summary Do not suspend virtual threads in a critical section.
-  * @bug 8311218
+  * @requires vm.debug != true
   * @requires vm.continuations
   * @library /testlibrary
   * @run main/othervm -Xint SuspendWithInterruptLock
   */
  
+ /**
+  * @test id=xint-debug
+  * @requires vm.debug == true
+  * @requires vm.continuations
+  * @library /testlibrary
+  * @run main/othervm -Xint -XX:-VerifyContinuations SuspendWithInterruptLock
+  */
+ 
  import jvmti.JVMTIUtils;
  
  public class SuspendWithInterruptLock {
      static volatile boolean done;
  
< prev index next >