RFR: 8231490: Ugly racy writes to ZipUtils.defaultBuf
Lance Andersen
lancea at openjdk.java.net
Mon Nov 8 19:42:41 UTC 2021
On Wed, 3 Nov 2021 21:46:08 GMT, Eamonn McManus <emcmanus at openjdk.org> wrote:
> This change applies the minimal fix suggested in
> https://bugs.openjdk.java.net/browse/JDK-8231490.
> The bug text suggests possibilities for reworking, but notes that
> this change is enough to fix the data race.
> Adding a regression test is probaby not feasible but we do observe
> that Java TSAN no longer reports a race after the change.
Looks like I forgot to hit approve with my earlier comment
-------------
Marked as reviewed by lancea (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6242
More information about the core-libs-dev
mailing list