Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8001632 Umbrella: Library Lambdafication
  3. JDK-8001666

Add lambda-compatible atomics and accumulators to the ActomicXXX classes

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:

      Description

      Add the following methods to Atomic{Reference,Integer,Long}:
        updateAndGet(XXX, XXXUnaryOperator)
        getAndUpdate(XXX, XXXUnaryOperator)
        getAndAccumulate(XXX, XXXBinaryOperator)
        accumulateAndGet(XXX,XXXBinaryOperator)

        Issue Links

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a546d8897e0d
          User: chegar
          Date: 2013-01-16 12:11:34 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a546d8897e0d User: chegar Date: 2013-01-16 12:11:34 +0000
          Hide
          chegar Chris Hegarty added a comment -
          Adding noreg-external, JCK, or regression, tests will added to cover these new methods.
          Show
          chegar Chris Hegarty added a comment - Adding noreg-external, JCK, or regression, tests will added to cover these new methods.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/a546d8897e0d
          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/a546d8897e0d User: lana Date: 2013-01-29 18:46:15 +0000

            People

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

              Dates

              • Created:
                Updated:
                Resolved: