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

Amanda Jiang amanda.jiang at oracle.com
Wed Feb 12 17:10:50 PST 2014


Hi Michael,

Could you sponsor this for me? Thanks a lot.

Amanda
On 2/10/14 4:10 PM, Amanda Jiang wrote:
> Hi Michael,
>
> Could you sponsor this for me?
>
> Thanks,
> Amanda
>
> *·¢¼þÈË**:*Michael McMahon
> *·¢ËÍʱ¼ä**:*Monday, February 10, 2014 6:13 PM
> *ÊÕ¼þÈË**:*net-dev at openjdk.java.net
> *Ö÷Ìâ**:*Re: RFR for JDK-8031661 java/net/Authenticator/B4769350.java
> failed intermittently
>
> That seems reasonable Amanda. I've run the updated test for a while and
> I can't see any problem with it.
>
> Thanks,
> Michael
>
> On 10/02/14 08:56, Amanda Jiang wrote:
>
>     Hi All,
>
>     Please review the fix for JDK-8031661
>
>     http://cr.openjdk.java.net/~tyan/amandaj/JDK-8031661/webrev.01/
>     <http://cr.openjdk.java.net/%7Etyan/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/20140212/e58b347b/attachment.html 


More information about the net-dev mailing list