Integrated: 8333290: NMT report should not print Metaspace info if Metaspace is not yet initialized

Thomas Stuefe stuefe at openjdk.org
Sat Jun 1 08:22:06 UTC 2024


On Fri, 31 May 2024 07:07:11 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Somewhat trivial fix to a small initialization problem ubsan uncovered. 
> 
> If hs-err file gets dumped after NMT initialization but before Metaspace initialization, we may see secondary crashes during error log writing, since NMT reports contain metaspace counters, and those are not ready yet. We should omit that info if metaspace has not yet been initialized.
> 
> (See prior discussions in https://github.com/openjdk/jdk/pull/19435)

This pull request has now been integrated.

Changeset: d29d5bfb
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d29d5bfb7fae35cb9f025c5a20e551a1391e38aa
Stats:     10 lines in 2 files changed: 10 ins; 0 del; 0 mod

8333290: NMT report should not print Metaspace info if Metaspace is not yet initialized

Reviewed-by: stefank, dholmes

-------------

PR: https://git.openjdk.org/jdk/pull/19493


More information about the hotspot-runtime-dev mailing list