• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Byte Code Transform
  • hhuynh
  • Reporter: teck
  • December 20, 2007
  • 0
  • Watchers: 1
  • January 30, 2008
  • December 20, 2007

Description

*** this is NOT a dupe of DEV-1184 ***

If a shared instance of ReentrantLock is flushed while it is held by a local thread, you get this exception when it is faulted back in and unlock()’d

java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:125) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1137) at java.util.concurrent.locks.ReentrantLock.__tc_unlock(Unknown Source) at java.util.concurrent.locks.ReentrantLock.unlock(Unknown Source)

Comments