< prev index next > test/hotspot/jtreg/runtime/cds/appcds/ArchiveRelocationTest.java
Print this page
String logArg = "-Xlog:cds=debug,cds+reloc=debug,cds+heap";
String unlockArg = "-XX:+UnlockDiagnosticVMOptions";
String nmtArg = "-XX:NativeMemoryTracking=detail";
OutputAnalyzer out = TestCommon.dump(appJar,
- TestCommon.list(mainClass),
- unlockArg, logArg, nmtArg);
+ TestCommon.list(mainClass),
+ unlockArg, logArg, nmtArg);
out.shouldContain("Relocating archive from");
TestCommon.run("-cp", appJar, unlockArg, runRelocArg, logArg, mainClass)
- .assertNormalExit(output -> {
+ .assertNormalExit(output -> {
if (run_reloc) {
output.shouldContain("Try to map archive(s) at an alternative address");
}
});
}
< prev index next >