RFR for JDK-8031661 java/net/Authenticator/B4769350.java failed intermittently

Amanda Jiang amanda.jiang at oracle.com
Mon Feb 10 00:56:09 PST 2014


Hi All,

Please review the fix for JDK-8031661

http://cr.openjdk.java.net/~tyan/amandaj/JDK-8031661/webrev.01/

Description:
Root Cause:
In line 195 and 196, the two actions can be ordered by a happens-before 
relationship, which will cause synchronization fail.
t1cond1latch.countDown();
t1cond2latch.await();

Suggested Fixes:
Using only one CyclicBarrier ("t1Cond1") sync c1,c2 and main thread
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20140210/af060199/attachment.html 


More information about the net-dev mailing list