[
https://issues.apache.org/jira/browse/FLINK-16245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-16245.
------------------------------------
Resolution: Fixed
master:
b0dff77a85237b76c20c9db4138651f7fd7b8fce
5f2f661e2c030b384634d90a13578c7c52c6a448
a982488fd8a6b8155f4fcb45c893661e11bade61
> Use a delegating classloader as the user code classloader to prevent class
> leaks.
> ---------------------------------------------------------------------------------
>
> Key: FLINK-16245
> URL: https://issues.apache.org/jira/browse/FLINK-16245
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Task
> Reporter: Stephan Ewen
> Assignee: Arvid Heise
> Priority: Critical
> Labels: pull-request-available, usability
> Fix For: 1.11.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> As reported in FLINK-11205, a reference to the user-code ClassLoader can be
> held by some libraries, causing class leaks.
> One way to circumvent this class leak is if the ClassLoader that we set as
> the user-code ClassLoader is a delegating ClassLoader to the real class
> loader, and when closing the user code ClassLoader we null out the reference.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)