On 02/10/2012 18:20, Vitaly Davidovich wrote:
A concern is that this could disrupt the inlining. In any case, I think Jim has figured out how to test this with a blackbox test. If nothing else, at least this exercise should expand the tests in the jdk repository.Jim, how about an assert with Thread.holdsLock() work for tests?
-Alan.