Integrated: 8317360: Missing null checks in JfrCheckpointManager and JfrStringPool initialization routines

Aleksey Shipilev shade at openjdk.org
Wed Oct 25 16:41:52 UTC 2023


On Mon, 23 Oct 2023 13:28:10 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

> Greetings,
> 
> Adding missing null checks for initialization routines.
> 
> Testing: jdk_jfr
> 
> Thanks
> Markus

I guess it is fine, but it is weird to see the abrupt return from the `initialize` methods that allocate stuff. Isn't this effectively a memory leak when JFR could not initialize for some reason?

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16310#pullrequestreview-1692840585


More information about the hotspot-jfr-dev mailing list