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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b103

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

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

              Created:
              Updated:
              Resolved: