[ 
https://issues.apache.org/jira/browse/FLINK-14522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16959609#comment-16959609
 ] 

Yu Li commented on FLINK-14522:
-------------------------------

FWIW, 
[CleanerUtils|https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/CleanerUtil.java]
 introduced by HADOOP-12760 might be a good reference (although cannot resolve 
the problem here directly).

> 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)

Reply via email to