Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8001566 Concurrency updates (jsr166e) - JEP 155
  3. JDK-8005311

Add Scalable Updatable Variables, DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder

    Details

      Description

      As part of JEP 155: Concurrency updates (jsr166e), this issue proposes to add Scalable Updatable Variables. From the JEP:

      "Scalable updatable variables. Maintaining a single count, sum, etc., that is updated by possibly many threads is a common scalability problem. A small set of new classes (DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder) internally employ contention-reduction techniques that provide huge throughput improvements as compared to Atomic variables. This is made possible by relaxing atomicity guarantees in a way that is acceptable in most applications."

        Issue Links

          Activity

          chegar Chris Hegarty created issue -
          chegar Chris Hegarty made changes -
          Field Original Value New Value
          Status New [ 10000 ] Open [ 1 ]
          chegar Chris Hegarty made changes -
          Summary Add Scalable Updatable Variables, LongAdder and DoubleAdder Add Scalable Updatable Variables, DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder
          Fix Version/s 8 [ 11815 ]
          Priority P4 [ 4 ] P2 [ 2 ]
          Description As part of JEP 155: Concurrency updates (jsr166e), this issue proposes to add Scalable Updatable Variables. From the JEP:

          "Scalable updatable variables. Maintaining a single count, sum, etc., that is updated by possibly many threads is a common scalability problem. A small set of new classes (LongAdder, DoubleAdder, LongMaxUpdater, DoubleMaxUpdater) internally employ contention-reduction techniques that provide huge throughput improvements as compared to Atomic variables. This is made possible by relaxing atomicity guarantees in a way that is acceptable in most applications."
          As part of JEP 155: Concurrency updates (jsr166e), this issue proposes to add Scalable Updatable Variables. From the JEP:

          "Scalable updatable variables. Maintaining a single count, sum, etc., that is updated by possibly many threads is a common scalability problem. A small set of new classes (DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder) internally employ contention-reduction techniques that provide huge throughput improvements as compared to Atomic variables. This is made possible by relaxing atomicity guarantees in a way that is acceptable in most applications."
          hgupdate HG Updates made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolved In Build team [ 17324 ]
          Resolution Fixed [ 1 ]
          hgupdate HG Updates made changes -
          Resolved In Build team [ 17324 ] master [ 18256 ]
          aywang Amy Wang made changes -
          Resolved In Build master [ 18256 ] b75 [ 17551 ]
          ewang Eric Wang (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Verification Verified [ 17000 ]
          ewang Eric Wang (Inactive) made changes -
          Labels sqe-testdev-not-needed
          redestad Claes Redestad made changes -
          Link This issue duplicates JDK-6445151 [ JDK-6445151 ]
          darcy Joe Darcy made changes -
          Link This issue csr of CCC-8005311 [ CCC-8005311 ]

            People

            • Assignee:
              chegar Chris Hegarty
              Reporter:
              chegar Chris Hegarty
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: