RFR: 8174729: Race Condition in java.lang.reflect.WeakCache
Andrew Dinn
adinn at redhat.com
Thu Feb 23 10:28:12 UTC 2017
The following one line patch to the latest jdk8u tree fixes a race
condition in java.lang.reflect.WeakCache:
webrev: http://cr.openjdk.java.net/~adinn/8174729/webrev.00
bug: https://bugs.openjdk.java.net/browse/JDK-8174729
The webrev also includes a regression test, provided by Peter Levart the
original author of WeakCache. It fails consistently, albeit with no
absolute guarantee, before the patch and never fails after patching.
Could someone sponsor this for inclusion in 8u and others review it
(n.b. I am a JDK9 committer but not a JDK8 committer).
regards,
Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander
More information about the jdk8u-dev
mailing list