RFR 8005311: Add Scalable Updatable Variables, DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder

Doug Lea dl at cs.oswego.edu
Sat Jan 5 19:22:38 UTC 2013


On 01/05/13 14:14, Martin Buchholz wrote:
>
>
> On Sat, Jan 5, 2013 at 10:10 AM, Chris Hegarty <chris.hegarty at oracle.com
> <mailto:chris.hegarty at oracle.com>> wrote:
>
> - Accumulators Does the 'identity' value need further explanation?
>
>
> I think so.  A brief introduction to accumulation/reduction seems
> appropriate.

I'm sure the lambda-libs folks will someday provide a nice one
we can link to here :-)

On 01/05/13 13:10, Chris Hegarty wrote:

> Note: There is one minor change to the implementation. Currently in the jdk8
> repo j.u.f.DoubleBinaryOperator defines operateAsDouble. This method has
> been renamed to applyAsDouble in the lambda/lambda repo. When these changes
> are sync'ed from lambda/lambda this can be reverted. A similar comment has
> been added to the code.

I suspect that there will a lot of this sort of thing over the
next several months. It is probably still worthwhile to
establish these classes for the sake of integration checks,
but we'll surely need a bunch more sync-ups for JDK8.

-Doug




More information about the core-libs-dev mailing list