< prev index next >

test/jdk/java/nio/channels/vthread/BlockingChannelOps.java

Print this page
@@ -24,21 +24,33 @@
  /*
   * @test id=default
   * @bug 8284161
   * @summary Test virtual threads doing blocking I/O on NIO channels
   * @library /test/lib
-  * @run junit/timeout=480 BlockingChannelOps
+  * @run junit/othervm/timeout=480 BlockingChannelOps
   */
  
  /*
   * @test id=poller-modes
   * @requires (os.family == "linux") | (os.family == "mac")
   * @library /test/lib
   * @run junit/othervm/timeout=480 -Djdk.pollerMode=1 BlockingChannelOps
   * @run junit/othervm/timeout=480 -Djdk.pollerMode=2 BlockingChannelOps
   */
  
+ /*
+  * @test id=io_uring
+  * @requires os.family == "linux"
+  * @library /test/lib
+  * @run junit/othervm/timeout=480 -Djdk.pollerMode=1 -Djdk.io_uring=true BlockingChannelOps
+  * @run junit/othervm/timeout=480 -Djdk.pollerMode=2 -Djdk.io_uring=true BlockingChannelOps
+  * @run junit/othervm/timeout=480 -Djdk.pollerMode=3 -Djdk.io_uring=true BlockingChannelOps
+  * @run junit/othervm/timeout=480 -Djdk.pollerMode=1 -Djdk.io_uring.sqpoll_idle=20 -Djdk.io_uring=true BlockingChannelOps
+  * @run junit/othervm/timeout=480 -Djdk.pollerMode=2 -Djdk.io_uring.sqpoll_idle=20 -Djdk.io_uring=true BlockingChannelOps
+  * @run junit/othervm/timeout=480 -Djdk.pollerMode=3 -Djdk.io_uring.sqpoll_idle=20 -Djdk.io_uring=true BlockingChannelOps
+  */
+ 
  /*
   * @test id=no-vmcontinuations
   * @requires vm.continuations
   * @library /test/lib
   * @run junit/othervm/timeout=480 -XX:+UnlockExperimentalVMOptions -XX:-VMContinuations BlockingChannelOps
< prev index next >