RFR(s): 8056313: TEST_BUG: java/util/Timer/NameConstructors.java fails intermittently

Lance @ Oracle lance.andersen at oracle.com
Fri Nov 21 00:36:32 UTC 2014

Look fine Stuart


Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com
Sent from my iPad

> On Nov 20, 2014, at 6:51 PM, Stuart Marks <stuart.marks at oracle.com> wrote:
> 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