Integrated: JDK-8260902: CDS mapping errors should not lead to unconditional output
Thomas Stuefe
stuefe at openjdk.java.net
Tue Feb 2 18:24:46 UTC 2021
On Tue, 2 Feb 2021 09:16:47 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> There are some places where unconditional error messages are printed to tty for recoverable errors. This is not good since the VM may continue without problems, but those printouts may confuse scripts parsing the VM output, or end up at the wrong places:
>
> See e.g.: https://mail.openjdk.java.net/pipermail/build-dev/2021-February/030256.html
>
> One of these points are mapping errors in CDS. VM will just continue without CDS, so its not a fatal error.
>
> I fixed some places which clearly were non-fatal while leaving log_error in place for cases which are clearly fatal, or borderline fatal (like rs commit errors). I looked for tests which could have parsed these lines and found none.
This pull request has now been integrated.
Changeset: f546fd00
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/f546fd00
Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
8260902: CDS mapping errors should not lead to unconditional output
Reviewed-by: iklam
-------------
PR: https://git.openjdk.java.net/jdk/pull/2348
More information about the hotspot-runtime-dev
mailing list