JDK 9 RFR of 8176744: Improve internal timing of java/nio/channels/Selector/SelectAndClose.java

Roger Riggs roger.riggs at oracle.com
Tue Mar 14 20:24:53 UTC 2017


Hi Brian,

Should awakened and closed be volatile since they are read and written 
by different threads?

The countdown latch part is fine.

Roger


On 3/14/17 12:47 PM, Brian Burkhalter wrote:
> Please review this test-only fix at your convenience.
>
> Issue:	https://bugs.openjdk.java.net/browse/JDK-8176744
> Patch:	http://cr.openjdk.java.net/~bpb/8176744/webrev.00/
>
> Deal with another flaky use of sleep().
>
> Thanks,
>
> Brian



More information about the nio-dev mailing list