< prev index next >

test/hotspot/jtreg/gc/shenandoah/TestLotsOfCycles.java

Print this page
@@ -1,7 +1,8 @@
  /*
   * Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.
+  * Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -69,10 +70,20 @@
   *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
   *      -Dtarget=10000
   *      TestLotsOfCycles
   */
  
+ /*
+  * @test id=generational
+  * @requires vm.gc.Shenandoah
+  *
+  * @run main/othervm/timeout=480 -Xmx16m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
+  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
+  *      -Dtarget=10000
+  *      TestLotsOfCycles
+  */
+ 
  /*
   * @test id=static
   * @requires vm.gc.Shenandoah
   *
   * @run main/othervm/timeout=480 -Xmx16m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
< prev index next >