< prev index next >

test/hotspot/jtreg/serviceability/dcmd/thread/VThreadCommandsTest.java

Print this page
@@ -29,10 +29,21 @@
   * @modules jdk.jcmd
   * @library /test/lib
   * @run junit/othervm VThreadCommandsTest
   */
  
+ /*
+  * @test id=poller-modes
+  * @requires (os.family == "linux") | (os.family == "mac")
+  * @requires vm.continuations
+  * @modules jdk.jcmd
+  * @library /test/lib
+  * @run junit/othervm -Djdk.pollerMode=1 VThreadCommandsTest
+  * @run junit/othervm -Djdk.pollerMode=2 VThreadCommandsTest
+  * @run junit/othervm -Djdk.pollerMode=3 VThreadCommandsTest
+  */
+ 
  import java.net.InetAddress;
  import java.net.InetSocketAddress;
  import java.net.ServerSocket;
  import java.net.Socket;
  import java.net.SocketTimeoutException;
< prev index next >