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

          Hide
          ewang Eric Wang (Inactive) added a comment -
          SQE has looked at the bug and decided no additional tests are needed.
          Show
          ewang Eric Wang (Inactive) added a comment - SQE has looked at the bug and decided no additional tests are needed.
          Hide
          ewang Eric Wang (Inactive) added a comment -
          verified in b85
          Show
          ewang Eric Wang (Inactive) added a comment - verified in b85
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/f21a3c273fb2
          User: lana
          Date: 2013-01-29 18:46:15 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/f21a3c273fb2 User: lana Date: 2013-01-29 18:46:15 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f21a3c273fb2
          User: chegar
          Date: 2013-01-21 13:52:07 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f21a3c273fb2 User: chegar Date: 2013-01-21 13:52:07 +0000

            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: