< prev index next >

test/hotspot/jtreg/gc/TestAllocHumongousFragment.java

Print this page
*** 175,10 ***
--- 175,22 ---
   * @run main/othervm -Xlog:gc+region=trace -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
   *      -XX:VerifyGCType=full -XX:+VerifyDuringGC -XX:+VerifyAfterGC
   *      TestAllocHumongousFragment
   */
  
+  /*
+  * @test id=g1-alt-forwarding
+  * @summary Make sure G1 can recover from humongous allocation fragmentation, with alt GC forwarding
+  * @key randomness
+  * @requires vm.gc.G1
+  * @library /test/lib
+  *
+  * @run main/othervm -Xlog:gc+region=trace -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
+  *      -XX:VerifyGCType=full -XX:+VerifyDuringGC -XX:+VerifyAfterGC -XX:+UseAltGCForwarding
+  *      TestAllocHumongousFragment
+  */
+ 
  import java.util.*;
  import jdk.test.lib.Utils;
  
  public class TestAllocHumongousFragment {
  
< prev index next >