You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2019/04/23 20:40:00 UTC
[jira] [Commented] (HADOOP-12690) Consolidate access of
sun.misc.Unsafe
[ https://issues.apache.org/jira/browse/HADOOP-12690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824505#comment-16824505 ]
Wei-Chiu Chuang commented on HADOOP-12690:
------------------------------------------
We probably want to redo this work. sun.misc.Unsafe is removed from JDK11 so better to remove the use of this API entirely. Similar to HADOOP-12760.
> Consolidate access of sun.misc.Unsafe
> --------------------------------------
>
> Key: HADOOP-12690
> URL: https://issues.apache.org/jira/browse/HADOOP-12690
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Junping Du
> Assignee: Junping Du
> Priority: Major
> Attachments: HADOOP-12690-v2.1.patch, HADOOP-12690-v2.patch, HADOOP-12690-v3.1.patch, HADOOP-12690-v3.patch, HADOOP-12690.patch
>
>
> Per discussion in Hadoop-12630 (https://issues.apache.org/jira/browse/HADOOP-12630?focusedCommentId=15082142&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15082142), we found the access of sun.misc.Unsafe could be problematic for some JVMs in other platforms. Also, hints from other comments, it is better to consolidate it as a helper/utility method to shared with several places (FastByteComparisons, NativeIO, ShortCircuitShm).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org