[
https://issues.apache.org/jira/browse/FLINK-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658231#comment-16658231
]
Benoit MERIAUX commented on FLINK-2485:
---------------------------------------
Hi,
I did a quick search on usage of {code:java}sun.misc.unsafe{code} and there is
actually 39 occurences, mainly in core module which concentrates 34 hits, and
notably memory package with 26 occurences.
there is a replacement solution with
{code:java}VarHandle{code}
starting from jdk9, so it is not retrocompatible with < jdk9
Unsafe are still included in jdk 9 and 10, and removed from 11.
So this issue is not on the critical path to build with jdk 9 and 10.
> Handle removal of Java Unsafe in Java9
> --------------------------------------
>
> Key: FLINK-2485
> URL: https://issues.apache.org/jira/browse/FLINK-2485
> Project: Flink
> Issue Type: Task
> Components: Core
> Reporter: Henry Saputra
> Priority: Major
>
> With potential Oracle will remove Java Unsafe[1] from Java9 we need to make
> sure we have upgrade path for Apache Flink
> [1]
> https://docs.google.com/document/d/1GDm_cAxYInmoHMor-AkStzWvwE9pw6tnz_CebJQxuUE/edit?pli=1
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)