Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8143628

Fork sun.misc.Unsafe and jdk.internal.misc.Unsafe native method tables

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b103

      Description

      Currently sun.misc.Unsafe and jdk.internal.misc.Unsafe share the same native method table.

      This limitation means it is not possible to add new native methods to jdk.internal.misc.Unsafe nor remove native methods from sun.misc.Unsafe (there are few private and public methods that should be removed, namely private methods unalignedAccess0 and isBigEndian0 and also public methods getUncompressedObject/getJavaMirror/getKlassPointer once dependencies have been updated).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psandoz Paul Sandoz
                Reporter:
                psandoz Paul Sandoz
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: