< prev index next >

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

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

*** 97,84 ***
   *      -XX:-ResizeTLAB
   *      TestResizeTLAB
   */
  
  /*
!  * @test id=static
   * @key randomness
   * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
   * @requires vm.gc.Shenandoah
   * @library /test/lib
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
   *      -XX:+ShenandoahVerify
   *      -XX:+ResizeTLAB
   *      TestResizeTLAB
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
   *      -XX:+ShenandoahVerify
   *      -XX:-ResizeTLAB
   *      TestResizeTLAB
   */
  
  /*
!  * @test id=compact
-  * @key randomness
-  * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
-  * @requires vm.gc.Shenandoah
-  * @library /test/lib
-  *
-  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
-  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
-  *      -XX:+ShenandoahVerify
-  *      -XX:+ResizeTLAB
-  *      TestResizeTLAB
-  *
-  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
-  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
-  *      -XX:+ShenandoahVerify
-  *      -XX:-ResizeTLAB
-  *      TestResizeTLAB
-  */
- 
- /*
-  * @test id=iu-aggressive
   * @key randomness
   * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
   * @requires vm.gc.Shenandoah
   * @library /test/lib
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
   *      -XX:+ShenandoahVerify
   *      -XX:+ResizeTLAB
   *      TestResizeTLAB
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
   *      -XX:+ShenandoahVerify
   *      -XX:-ResizeTLAB
   *      TestResizeTLAB
   */
  
  /*
!  * @test id=iu
   * @key randomness
   * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
   * @requires vm.gc.Shenandoah
   * @library /test/lib
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
   *      -XX:+ShenandoahVerify
   *      -XX:+ResizeTLAB
   *      TestResizeTLAB
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
   *      -XX:+ShenandoahVerify
   *      -XX:-ResizeTLAB
   *      TestResizeTLAB
   */
  
--- 98,64 ---
   *      -XX:-ResizeTLAB
   *      TestResizeTLAB
   */
  
  /*
!  * @test id=generational
   * @key randomness
   * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
   * @requires vm.gc.Shenandoah
   * @library /test/lib
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
   *      -XX:+ShenandoahVerify
   *      -XX:+ResizeTLAB
   *      TestResizeTLAB
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
   *      -XX:+ShenandoahVerify
   *      -XX:-ResizeTLAB
   *      TestResizeTLAB
   */
  
  /*
!  * @test id=static
   * @key randomness
   * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
   * @requires vm.gc.Shenandoah
   * @library /test/lib
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
   *      -XX:+ShenandoahVerify
   *      -XX:+ResizeTLAB
   *      TestResizeTLAB
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
   *      -XX:+ShenandoahVerify
   *      -XX:-ResizeTLAB
   *      TestResizeTLAB
   */
  
  /*
!  * @test id=compact
   * @key randomness
   * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
   * @requires vm.gc.Shenandoah
   * @library /test/lib
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
   *      -XX:+ShenandoahVerify
   *      -XX:+ResizeTLAB
   *      TestResizeTLAB
   *
   * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
!  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
   *      -XX:+ShenandoahVerify
   *      -XX:-ResizeTLAB
   *      TestResizeTLAB
   */
  
< prev index next >