Details
-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 17, 19, 20
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8299297 | 17.0.7-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8299368 | 17.0.7 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8299298 | 11.0.19-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8303339 | 11.0.19 | Goetz Lindenmaier | P4 | Resolved | Fixed | b04 |
Description
They use accumulators with binary plus as update function and using non-zero values as identity, which breaks once accumulators create many cells, reset their values to identity, and then apply the function over them, producing unexpected values.
See the investigation on RISC-V here:
https://mail.openjdk.org/pipermail/riscv-port-dev/2022-August/000594.html
Attachments
Issue Links
- backported by
-
JDK-8299297 java/util/concurrent/atomic/Serial.java uses {Double,Long}Accumulator incorrectly
- Resolved
-
JDK-8299298 java/util/concurrent/atomic/Serial.java uses {Double,Long}Accumulator incorrectly
- Resolved
-
JDK-8299368 java/util/concurrent/atomic/Serial.java uses {Double,Long}Accumulator incorrectly
- Resolved
-
JDK-8303339 java/util/concurrent/atomic/Serial.java uses {Double,Long}Accumulator incorrectly
- Resolved
- relates to
-
JDK-8026344 j.u.c.a *Adder and *Accumulator extend a package private class that is Serializable
- Closed
- links to
-
Commit openjdk/jdk11u-dev/558eab22
-
Commit openjdk/jdk17u-dev/9729dad0
-
Commit openjdk/jdk/251bff6b
-
Review openjdk/jdk11u-dev/1778
-
Review openjdk/jdk17u-dev/985
-
Review openjdk/jdk/10002