# HG changeset patch # User iklam # Date 1573772079 28800 # Node ID 124164752fe49db8a3b483c5cdd5dd3e2acfca29 # Parent 148921c01038cd74b07cdb54d166b8c169c16b92 8234196: [TESTBUG] DynamicArchiveRelocationTest.java missing "ArchiveRelocationMode == 1 ...." Reviewed-by: dcubed diff -r 148921c01038 -r 124164752fe4 test/hotspot/jtreg/runtime/cds/appcds/ArchiveRelocationTest.java --- a/test/hotspot/jtreg/runtime/cds/appcds/ArchiveRelocationTest.java Wed Nov 13 16:49:14 2019 -0800 +++ b/test/hotspot/jtreg/runtime/cds/appcds/ArchiveRelocationTest.java Thu Nov 14 14:54:39 2019 -0800 @@ -80,7 +80,6 @@ TestCommon.run("-cp", appJar, unlockArg, runRelocArg, logArg, mainClass) .assertNormalExit(output -> { 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 done"); } diff -r 148921c01038 -r 124164752fe4 test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java --- a/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java Wed Nov 13 16:49:14 2019 -0800 +++ b/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java Thu Nov 14 14:54:39 2019 -0800 @@ -88,9 +88,8 @@ String baseArchiveName = getNewArchiveName("base"); String topArchiveName = getNewArchiveName("top"); - String runtimeMsg1 = "ArchiveRelocationMode == 1: always map archive(s) at an alternative address"; - String runtimeMsg2 = "runtime archive relocation start"; - String runtimeMsg3 = "runtime archive relocation done"; + String runtimeMsg1 = "runtime archive relocation start"; + String runtimeMsg2 = "runtime archive relocation done"; String unlockArg = "-XX:+UnlockDiagnosticVMOptions"; // (1) Dump base archive (static) @@ -112,7 +111,6 @@ if (dump_top_reloc) { output.shouldContain(runtimeMsg1); output.shouldContain(runtimeMsg2); - output.shouldContain(runtimeMsg3); } }); @@ -125,7 +123,6 @@ if (run_reloc) { output.shouldContain(runtimeMsg1); output.shouldContain(runtimeMsg2); - output.shouldContain(runtimeMsg3); } }); }