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

Coleen Phillimore coleenp at openjdk.java.net
Tue Jun 29 18:45:01 UTC 2021


On Tue, 29 Jun 2021 16:02:53 GMT, Zhengyu Gu <zgu 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.

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

Marked as reviewed by coleenp (Reviewer).

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


More information about the hotspot-runtime-dev mailing list