Code Review - 6818464 TEST_BUG: Timeout values in several java/util tests are insufficient

David Holmes david.holmes at oracle.com
Mon Nov 21 00:47:09 UTC 2011


Gary,

On 19/11/2011 2:46 AM, Gary Adams wrote:
> I think this change is ready to commit, just need
> a sponsor for the last push (Mandy/David?).
>
> http://cr.openjdk.java.net/~gadams/6818464/

As I've said before the reference to tdThread must be volatile as you 
are communicating the value from the timer thread to the main thread. So 
the idiom of using a one-element array instead of a static field is not 
applicable in this case as you can not declare an array with volatile 
elements.

David




More information about the core-libs-dev mailing list