8234196: [TESTBUG] DynamicArchiveRelocationTest.java missing "ArchiveRelocationMode == 1 ...."
Reviewed-by: dcubed
This commit is contained in:
parent
fddefba175
commit
55cef3c4e0
@ -80,7 +80,6 @@ public class ArchiveRelocationTest {
|
|||||||
TestCommon.run("-cp", appJar, unlockArg, runRelocArg, logArg, mainClass)
|
TestCommon.run("-cp", appJar, unlockArg, runRelocArg, logArg, mainClass)
|
||||||
.assertNormalExit(output -> {
|
.assertNormalExit(output -> {
|
||||||
if (run_reloc) {
|
if (run_reloc) {
|
||||||
output.shouldContain("ArchiveRelocationMode == 1: always map archive(s) at an alternative address");
|
|
||||||
output.shouldContain("runtime archive relocation start");
|
output.shouldContain("runtime archive relocation start");
|
||||||
output.shouldContain("runtime archive relocation done");
|
output.shouldContain("runtime archive relocation done");
|
||||||
}
|
}
|
||||||
|
@ -88,9 +88,8 @@ public class DynamicArchiveRelocationTest extends DynamicArchiveTestBase {
|
|||||||
String baseArchiveName = getNewArchiveName("base");
|
String baseArchiveName = getNewArchiveName("base");
|
||||||
String topArchiveName = getNewArchiveName("top");
|
String topArchiveName = getNewArchiveName("top");
|
||||||
|
|
||||||
String runtimeMsg1 = "ArchiveRelocationMode == 1: always map archive(s) at an alternative address";
|
String runtimeMsg1 = "runtime archive relocation start";
|
||||||
String runtimeMsg2 = "runtime archive relocation start";
|
String runtimeMsg2 = "runtime archive relocation done";
|
||||||
String runtimeMsg3 = "runtime archive relocation done";
|
|
||||||
String unlockArg = "-XX:+UnlockDiagnosticVMOptions";
|
String unlockArg = "-XX:+UnlockDiagnosticVMOptions";
|
||||||
|
|
||||||
// (1) Dump base archive (static)
|
// (1) Dump base archive (static)
|
||||||
@ -112,7 +111,6 @@ public class DynamicArchiveRelocationTest extends DynamicArchiveTestBase {
|
|||||||
if (dump_top_reloc) {
|
if (dump_top_reloc) {
|
||||||
output.shouldContain(runtimeMsg1);
|
output.shouldContain(runtimeMsg1);
|
||||||
output.shouldContain(runtimeMsg2);
|
output.shouldContain(runtimeMsg2);
|
||||||
output.shouldContain(runtimeMsg3);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -125,7 +123,6 @@ public class DynamicArchiveRelocationTest extends DynamicArchiveTestBase {
|
|||||||
if (run_reloc) {
|
if (run_reloc) {
|
||||||
output.shouldContain(runtimeMsg1);
|
output.shouldContain(runtimeMsg1);
|
||||||
output.shouldContain(runtimeMsg2);
|
output.shouldContain(runtimeMsg2);
|
||||||
output.shouldContain(runtimeMsg3);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user