RFR: 8334780: Crash: assert(h_array_list.not_null()) failed: invariant

Aleksey Shipilev shade at openjdk.org
Thu Aug 8 16:22:32 UTC 2024


On Thu, 8 Aug 2024 15:28:41 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

> Greetings,
> 
> this change adjusts an incorrect assert, as new_java_util_arraylist() has CHECK_NULL constructs on exceptions.
> 
> Testing: jdk_jfr
> 
> Cheers
> Markus

This looks superficially fine. Looks like callers have to handle empty lists due to other early returns already.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20512#pullrequestreview-2228344763


More information about the hotspot-jfr-dev mailing list