8001666: Add updateAndGet, getAndUpdate, getAndAccumulate, accumulateAndGet methods to AtomicXXX (original) (raw)
Chris Hegarty chris.hegarty at oracle.com
Fri Jan 11 15:25:15 UTC 2013
- Previous message: RFR: javax.xml.xpath: Using ServiceLoader to load JAXP XPath factories (7169894: JAXP Plugability Layer: using service loader)
- Next message: 8001666: Add updateAndGet, getAndUpdate, getAndAccumulate, accumulateAndGet methods to AtomicXXX
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This proposal is to add lambda-compatible atomics and accumulators to the ActomicXXX classes.
Webrev: http://cr.openjdk.java.net/~chegar/8001666/ver.00/webrev/ SpecDiff:
This changes come from Doug, with the exception of the AtomicXXXArray classes.
Doug, You have not added the equivalent atomics and accumulators the Array classes. Was this intentional? I no reason why this shouldn't be done, so went ahead and did it.
-Chris.
- Previous message: RFR: javax.xml.xpath: Using ServiceLoader to load JAXP XPath factories (7169894: JAXP Plugability Layer: using service loader)
- Next message: 8001666: Add updateAndGet, getAndUpdate, getAndAccumulate, accumulateAndGet methods to AtomicXXX
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]