RFR: 8263538: SharedArchiveConsistency.java should test -Xshare:auto as well
Ioi Lam
iklam at openjdk.java.net
Tue Jul 6 21:31:47 UTC 2021
On Tue, 6 Jul 2021 17:08:31 GMT, Yumin Qi <minqi at openjdk.org> wrote:
> Hi, please review
>
> When this test run with -Xshare:on, it will exit when the shared archive is corrupted or mismatch. Make it run with -Xshare:auto will expand code coverage and to keep app run without using the CDS.
>
> Tests: Mach5 tier1,tier4
>
> Thanks
> Yumin
test/hotspot/jtreg/runtime/cds/appcds/SharedArchiveConsistency.java line 437:
> 435: if (!shareAuto) {
> 436: output.shouldContain("Hello World");
> 437: }
Are lines 431-437 still necessary, now that both -Xshare:on and -Xshare:off are already executed for this test scenario.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4694
More information about the hotspot-runtime-dev
mailing list