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

Christoph Langer clanger at openjdk.java.net
Sat Jul 3 08:53:50 UTC 2021


On Thu, 1 Jul 2021 17:20:38 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> I would like to backport this patch to openjdk11u for parity with Oracle 11.0.13.
> 
> This is a low risk patch that fixes potential memory leak. The jdk17 patch applies cleanly.

This backport breaks the build on all platforms:

.../jdk11u-dev/src/hotspot/share/runtime/safepoint.cpp:1195:19: error: 'self' was not declared in this scope
     HandleMark hm(self);
                   ^~~~

Did you do any testing?

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/90


More information about the jdk-updates-dev mailing list