RFR 8072030 Race condition in ThenComposeExceptionTest.java
Chris Hegarty
chris.hegarty at oracle.com
Mon Feb 2 10:41:30 UTC 2015
On 02/02/15 09:29, Paul Sandoz wrote:
> Hi,
>
> http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8072030-thenComposeException-test-race-condition/webrev/
>
> I introduced a silly race condition in the test ThenComposeExceptionTest.java. This manifested itself in hotspot testing where various VM options increased the probability of failure.
The changes look fine to me Paul.
This not an issue for the 166 CVS ( test exists only in OpenJDK ).
This was a nasty race. In fact there is no guarantee that the CF, that
sets the AtomicReference would even complete, without join/get, right ?
-Chris.
More information about the core-libs-dev
mailing list