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

Replace Unsafe with VarHandle in java.util.concurrent classes

XMLWordPrintable

      Relevant classes in java.util.concurrent should be updated to replace the use of Unsafe with VarHandles.

      Performance testing needs to ensure there are no performance regressions.

      Such classes include ConcurrentHashMap, which is likely used during the boot phase of the JDK, and also used by classes in java.lang.invoke. The VarHandle implementation technique needs to ensure no circular dependencies are introduced.

            martin Martin Buchholz
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: