< prev index next >

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

Print this page
@@ -1,7 +1,8 @@
  /*
   * Copyright (c) 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.

@@ -24,17 +25,26 @@
  
  import java.util.Random;
  import jdk.test.lib.Utils;
  
  /*
-  * @test
+  * @test id=default
   * @key randomness
   * @requires vm.gc.Shenandoah
   * @library /test/lib
   *
   * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:TieredStopAtLevel=0 -Xmx16m TestArrayCopyStress
   */
+ 
+ /*
+  * @test id=generational
+  * @key randomness
+  * @requires vm.gc.Shenandoah
+  * @library /test/lib
+  *
+  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational -XX:TieredStopAtLevel=0 -Xmx16m TestArrayCopyStress
+  */
  public class TestArrayCopyStress {
  
      private static final int ARRAY_SIZE = 1000;
      private static final int ITERATIONS = 10000;
  
< prev index next >