Integrated: 8292313: 2 runtime/cds/appcds tests fail after JDK-8284313
Calvin Cheung
ccheung at openjdk.org
Tue Aug 16 16:31:26 UTC 2022
On Mon, 15 Aug 2022 22:42:17 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> The tests failed due to the presence of the -Xlog:cds flag.
>
> In the WrongTopClasspath.java test, it expects the following warning:
> `[warning][cds] shared class paths mismatch (hint: enable -Xlog:class+path=info to diagnose the failure) `
>
> with -Xlog:cds enabled, the log statement becomes:
> `[info][cds] UseSharedSpaces: shared class paths mismatch (hint: enable -Xlog:class+path=info to diagnose the failure)`
>
> Since both tests are running in both Tiers 2 and 3 and the tests are not testing any of the VM flags settings in Tier4, I think we can simply add the following @requires to the tests:
> vm.flagless
>
> This message going to different channels (warning vs log) issue will be addressed in [JDK-8292269](https://bugs.openjdk.org/browse/JDK-8292269).
>
> Passed tier2 testing and tested with `-Xlog:cds` locally on linux-x64.
This pull request has now been integrated.
Changeset: c3d3662e
Author: Calvin Cheung <ccheung at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c3d3662e52de434adb267485982fbf8541bdc0c8
Stats: 6 lines in 3 files changed: 0 ins; 3 del; 3 mod
8292313: 2 runtime/cds/appcds tests fail after JDK-8284313
Reviewed-by: hseigel, iklam
-------------
PR: https://git.openjdk.org/jdk/pull/9884
More information about the hotspot-runtime-dev
mailing list