[jdk17] RFR: 8269594: assert(_handle_mark_nesting > 1) failed: memory leak: allocating handle outside HandleMark

Zhengyu Gu zgu at openjdk.java.net
Wed Jun 30 11:40:08 UTC 2021


On Tue, 29 Jun 2021 18:41:53 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> I would like to fix this assertion in jdk17. It was caught in Shenandoah nightly test and hard to reproduce, but fix is simple and low risk.
>
> This looks good.  I think it's worth fixing because the Handles could leak without this assert in production, and that could be really hard to diagnose.

@coleenp @JornVernee Thanks!

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

PR: https://git.openjdk.java.net/jdk17/pull/173


More information about the hotspot-runtime-dev mailing list