Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12690

Consolidate access of sun.misc.Unsafe

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

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

        Attachments

        1. HADOOP-12690.patch
          10 kB
          Junping Du
        2. HADOOP-12690-v2.1.patch
          10 kB
          Junping Du
        3. HADOOP-12690-v2.patch
          10 kB
          Junping Du
        4. HADOOP-12690-v3.1.patch
          11 kB
          Junping Du
        5. HADOOP-12690-v3.patch
          10 kB
          Junping Du

          Issue Links

            Activity

              People

              • Assignee:
                junping_du Junping Du
                Reporter:
                junping_du Junping Du
              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated: