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

Replace CHM with VarHandle in ForeachOrderedTask

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • core-libs
    • None

      ForeachOrderedTask currently uses a ConcurrentHashMap to track the next task to activate to maintain order of execution, but functionally a VarHandle will do just fine and be cheaper and faster.

            vklang Viktor Klang
            vklang Viktor Klang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: