[
https://issues.apache.org/jira/browse/FLINK-14522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Zagrebin updated FLINK-14522:
------------------------------------
Description:
sun.misc.Cleaner is not available since Java 9.
It was moved to jdk.internal.ref.Cleaner of java.base module ([Open
JDK-8148117|https://bugs.openjdk.java.net/browse/JDK-8148117]).
A popular solution is use reflection to look up for the location of the Cleaner
class depending on running JVM version.
was:
sun.misc.Cleaner is not available in Java 11.
It was moved to jdk.internal.ref.Cleaner of java.base module.
> Adjust GC Cleaner for unsafe memory and Java 11
> ------------------------------------------------
>
> Key: FLINK-14522
> URL: https://issues.apache.org/jira/browse/FLINK-14522
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Task
> Reporter: Andrey Zagrebin
> Assignee: Andrey Zagrebin
> Priority: Major
> Fix For: 1.10.0
>
>
> sun.misc.Cleaner is not available since Java 9.
> It was moved to jdk.internal.ref.Cleaner of java.base module ([Open
> JDK-8148117|https://bugs.openjdk.java.net/browse/JDK-8148117]).
> A popular solution is use reflection to look up for the location of the
> Cleaner class depending on running JVM version.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)