RFR: 8253960: Memory leak in Java_java_lang_ClassLoader_defineClass0()

Alan Bateman alanb at openjdk.java.net
Sat Oct 3 06:10:36 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

Should this be renamed to "Memory leak in Lookup.defineClass"? I don't think it impacts anything extending or using the
ClassLoader.

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

Marked as reviewed by alanb (Reviewer).

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


More information about the core-libs-dev mailing list