< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/jvmti/ClassFileLoadHookTest.java

Print this page
*** 65,11 ***
                         "" + ClassFileLoadHook.TestCaseId.SHARING_OFF_CFLH_ON);
          CDSTestUtils.run(opts)
                      .assertNormalExit();
  
          // Run with AppCDS, but w/o CFLH - second baseline
!         TestCommon.testDump(appJar, sharedClasses, useWb);
          OutputAnalyzer out = TestCommon.exec(appJar,
                  "-XX:+UnlockDiagnosticVMOptions",
                  "-XX:+WhiteBoxAPI", useWb,
                  "ClassFileLoadHook",
                  "" + ClassFileLoadHook.TestCaseId.SHARING_ON_CFLH_OFF);
--- 65,11 ---
                         "" + ClassFileLoadHook.TestCaseId.SHARING_OFF_CFLH_ON);
          CDSTestUtils.run(opts)
                      .assertNormalExit();
  
          // Run with AppCDS, but w/o CFLH - second baseline
!         TestCommon.testDump(appJar, sharedClasses, useWb, "-XX:-PreloadSharedClasses");
          OutputAnalyzer out = TestCommon.exec(appJar,
                  "-XX:+UnlockDiagnosticVMOptions",
                  "-XX:+WhiteBoxAPI", useWb,
                  "ClassFileLoadHook",
                  "" + ClassFileLoadHook.TestCaseId.SHARING_ON_CFLH_OFF);
< prev index next >