-
Enhancement
-
Resolution: Not an Issue
-
P4
-
None
-
8
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
win10, jdk1.8.0_152
A DESCRIPTION OF THE PROBLEM :
LongAccumulator accumulator = new LongAccumulator( (left, right) -> left + Math.abs(right), 0);
Multithreading: accumulator.accumulate(Math.random() > 0.9 ? 1 : -1);
Striped64::longAccumulate : Cell r = new Cell( -1 ); rs[h & 1] = new Cell( -1 ); should be
new Cell( fn != null ? fn.applyAsLong(0, x) : x )
win10, jdk1.8.0_152
A DESCRIPTION OF THE PROBLEM :
LongAccumulator accumulator = new LongAccumulator( (left, right) -> left + Math.abs(right), 0);
Multithreading: accumulator.accumulate(Math.random() > 0.9 ? 1 : -1);
Striped64::longAccumulate : Cell r = new Cell( -1 ); rs[h & 1] = new Cell( -1 ); should be
new Cell( fn != null ? fn.applyAsLong(0, x) : x )