< prev index next >

test/hotspot/jtreg/runtime/cds/serviceability/ReplaceCriticalClasses.java

Print this page
*** 55,10 ***
--- 55,11 ---
              // Dump the shared archive in case it was not generated during the JDK build.
              // Put the archive at separate file to avoid clashes with concurrent tests.
              CDSOptions opts = new CDSOptions()
                  .setClassList(extraClasses)
                  .setArchiveName(ReplaceCriticalClasses.class.getName() + ".jsa");
+             opts.addSuffix("-XX:-PreloadSharedClasses");
              CDSTestUtils.createArchiveAndCheck(opts);
  
              launchChildProcesses(getTests());
          } else if (args.length == 3 && args[0].equals("child")) {
              Class klass = Class.forName(args[2].replace("/", "."));
< prev index next >