RFR: 8253960: Memory leak in Java_java_lang_ClassLoader_defineClass0()

Mandy Chung mchung at openjdk.java.net
Sat Oct 3 02:02:37 UTC 2020


On Sat, 3 Oct 2020 00:05:40 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> The memory leak is quite obvious. Early return results 'body' not been released.
> 
> Test:
> 
> - [x] tier1 on Linux x86_64

Thanks for catching this.  Looks good.

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

Marked as reviewed by mchung (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/492


More information about the hotspot-runtime-dev mailing list