[8u] RFR + RFA (S) 8212178: Soft reference reclamation race in com.sun.xml.internal.stream.util.ThreadLocalBufferAllocator

Aleksey Shipilev shade at redhat.com
Wed Feb 6 14:37:05 UTC 2019


Please review and approve the 8u backport for SoftReference race fix.

  Original Bug:
      URL: https://bugs.openjdk.java.net/browse/JDK-8212178
      Reporter: Roman Kennke
      Assignee: Aleksey Shipilev
      Priority: P4
      Components: xml

  Original Fix:
        12: JDK-8212178, http://hg.openjdk.java.net/jdk/jdk/rev/c83ba72377fc, 114 day(s) ago

  Backports and Forwardports:
        11: 11.0.2, JDK-8212685, http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/5978954e1d74, 110
day(s) ago
         8: MISSING

The patch does not apply cleanly to 8u even after reshuffling, because 8u code does not have
subsequent patch that migrated JAXP to use generics [*]. The bug in question can be fixed by
copy-pasting the entire code block from 11u to 8u. Here is the webrev:
   http://cr.openjdk.java.net/~shade/8212178/webrev.8u.01/

Testing: 8u build, xml benchmarks

Thanks,
-Aleksey

[*] https://bugs.openjdk.java.net/browse/JDK-8181150



More information about the jdk8u-dev mailing list