RFR(s): 8056313: TEST_BUG: java/util/Timer/NameConstructors.java fails intermittently
Stuart Marks
stuart.marks at oracle.com
Thu Nov 20 23:51:40 UTC 2014
Hi all,
Here's a small test cleanup fix for review. This test fails rarely but often
enough to be annoying. The cause is one or more of the following: a memory
visibility issue (unsafe read/write to non-volatile fields), a race condition
(fixed Thread.sleep(500) wait time), and potential failure to cancel a timer
thread if an exception is thrown. This change fixes all of these probems.
Webrev:
http://cr.openjdk.java.net/~smarks/reviews/8056313/webrev.0/
Bug:
https://bugs.openjdk.java.net/browse/JDK-8056313
Thanks,
s'marks
More information about the core-libs-dev
mailing list