< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/IncompatibleOptions.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2015, 2024, Oracle and/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.

@@ -106,13 +106,13 @@
          testDump(1, "-XX:+UseG1GC", "-XX:-UseCompressedOops", null, false);
          if (GC.Z.isSupported()) {
              testDump(1, "-XX:+UseZGC", "-XX:-UseCompressedOops", null, false);
          }
  
-         // incompatible GCs
-         testDump(2, "-XX:+UseParallelGC", "", GC_WARNING, false);
-         testDump(3, "-XX:+UseSerialGC", "", GC_WARNING, false);
+         // ParallelGC and SerialGC now supports dumping heap objects
+         testDump(2, "-XX:+UseParallelGC", "", "", false);
+         testDump(3, "-XX:+UseSerialGC", "", "", false);
  
          // Explicitly archive with compressed oops, run without.
          testDump(5, "-XX:+UseG1GC", "-XX:+UseCompressedOops", null, false);
          testExec(5, "-XX:+UseG1GC", "-XX:-UseCompressedOops",
                   COMPRESSED_OOPS_NOT_CONSISTENT, true);
< prev index next >