Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b114

      With VarHandles, we have the full set of U.put{X}Release methods, which do exactly the same thing as Unsafe.putOrdered{X}. It prompts the cleanup: remove putOrdered methods from jdk.internal.misc.Unsafe.java, remove entries from unsafe.cpp, purge associated vmSymbols, and cleanup compiler code.

      The only thing left would be sun.misc.Unsafe.putOrdered{X}, which we cannot yet remove, but we can delegate them to jdk.internal.misc.Unsafe.put{X}Release all the same.

        There are no Sub-Tasks for this issue.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: