< prev index next >

test/hotspot/jtreg/gc/shenandoah/TestRegionSampling.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.

@@ -45,53 +46,43 @@
   *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
   *      TestRegionSampling
   */
  
  /*
-  * @test id=static
-  * @requires vm.gc.Shenandoah
-  *
-  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+ShenandoahRegionSampling
-  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
-  *      TestRegionSampling
-  */
- 
- /*
-  * @test id=compact
+  * @test id=generational
   * @requires vm.gc.Shenandoah
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+ShenandoahRegionSampling
-  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
+  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
   *      TestRegionSampling
   */
  
  /*
-  * @test id=aggressive
+  * @test id=static
   * @requires vm.gc.Shenandoah
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+ShenandoahRegionSampling
-  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
+  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
   *      TestRegionSampling
   */
  
  /*
-  * @test id=iu-aggressive
+  * @test id=compact
   * @requires vm.gc.Shenandoah
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+ShenandoahRegionSampling
-  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
+  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
   *      TestRegionSampling
   */
  
  /*
-  * @test id=iu
+  * @test id=aggressive
   * @requires vm.gc.Shenandoah
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+ShenandoahRegionSampling
-  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
+  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
   *      TestRegionSampling
-  *
   */
  
  public class TestRegionSampling {
  
      static final long TARGET_MB = Long.getLong("target", 2_000); // 2 Gb allocation
< prev index next >