< prev index next >

test/jdk/java/lang/Thread/virtual/stress/Skynet.java

Print this page
*** 23,19 ***
  
  /*
   * @test
   * @summary Stress test virtual threads with a variation of the Skynet 1M benchmark
   * @requires vm.continuations
!  * @run main/othervm/timeout=300 -Xmx1g Skynet
   */
  
  /*
   * @test
   * @requires vm.debug == true & vm.continuations
   * @requires vm.gc.Z
   * @run main/othervm/timeout=300 -XX:+UnlockDiagnosticVMOptions
!  *     -XX:+ZVerifyOops -XX:ZCollectionInterval=0.01 -Xmx1g Skynet
   */
  
  import java.util.concurrent.BlockingQueue;
  import java.util.concurrent.SynchronousQueue;
  import java.util.concurrent.ThreadFactory;
--- 23,19 ---
  
  /*
   * @test
   * @summary Stress test virtual threads with a variation of the Skynet 1M benchmark
   * @requires vm.continuations
!  * @run main/othervm/timeout=300 -Xmx1400m Skynet
   */
  
  /*
   * @test
   * @requires vm.debug == true & vm.continuations
   * @requires vm.gc.Z
   * @run main/othervm/timeout=300 -XX:+UnlockDiagnosticVMOptions
!  *     -XX:+ZVerifyOops -XX:ZCollectionInterval=0.01 -Xmx1400m Skynet
   */
  
  import java.util.concurrent.BlockingQueue;
  import java.util.concurrent.SynchronousQueue;
  import java.util.concurrent.ThreadFactory;
< prev index next >