< prev index next >

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

*** 42,13 ***
          DIAGNOSTIC,
          EXPERIMENTAL,
      }
  
      public static void main(String[] args) throws Exception {
!         testWith("-XX:ShenandoahGCMode=satb",    Mode.PRODUCT);
!         testWith("-XX:ShenandoahGCMode=iu",      Mode.EXPERIMENTAL);
!         testWith("-XX:ShenandoahGCMode=passive", Mode.DIAGNOSTIC);
      }
  
      private static void testWith(String h, Mode mode) throws Exception {
          {
              OutputAnalyzer output = ProcessTools.executeLimitedTestJava(
--- 43,14 ---
          DIAGNOSTIC,
          EXPERIMENTAL,
      }
  
      public static void main(String[] args) throws Exception {
!         testWith("-XX:ShenandoahGCMode=satb",         Mode.PRODUCT);
!         testWith("-XX:ShenandoahGCMode=iu",           Mode.EXPERIMENTAL);
!         testWith("-XX:ShenandoahGCMode=passive",      Mode.DIAGNOSTIC);
+         testWith("-XX:ShenandoahGCMode=generational", Mode.EXPERIMENTAL);
      }
  
      private static void testWith(String h, Mode mode) throws Exception {
          {
              OutputAnalyzer output = ProcessTools.executeLimitedTestJava(
< prev index next >