RFR 8031701: java/lang/management/ThreadMXBean/Locks.java: Thread WaitingThread is expected to wait on Object but got null Thread.State = RUNNABLE

Dmitry Samersoff dmitry.samersoff at oracle.com
Mon Jan 27 01:34:53 PST 2014


Jaroslav,

Looks good for me.

-Dmitry


On 2014-01-21 19:50, Jaroslav Bachorik wrote:
> Please, review the following test fix.
> 
> Issue : https://bugs.openjdk.java.net/browse/JDK-8031701
> Webrev: http://cr.openjdk.java.net/~jbachorik/8031701/webrev.00
> 
> The ThreadExecutionSynchronizer was replaced by Phaser - this should
> give more predictable results.
> Also, "checkBlockedObject()" failed to re-retrieve the ThreadInfo while
> waiting for the thread to become blocked. This would lead to timing out
> the test and producing the error message used as the issue subject. The
> fix for this is at L78-79
> 
> Thanks,
> 
> -JB-


-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.


More information about the serviceability-dev mailing list