RFR (S) 8212178: Soft reference reclamation race in com.sun.xml.internal.stream.util.ThreadLocalBufferAllocator
shade at redhat.com
Mon Oct 15 12:22:09 UTC 2018
See the details in the bug. We are hitting this race when Shenandoah is running in aggressive mode
and evacuates lots of objects all the time, processing references very often. This makes weak
reference reclamation races very visible.
I took the liberty of rewriting the entire method to make it more straightforward. New code
guarantees we never return "null" from this method.
Testing: failing tests, jdk:tier1, jdk-submit (running)
More information about the core-libs-dev