Java / Concurrent collections
Define ownable synchronizer in Java thread.
An ownable synchronizer is a synchronizer that may be exclusively owned by a thread and uses AbstractOwnableSynchronizer (or its subclass) to implement its synchronization property.
ReentrantLock and ReentrantReadWriteLock are 2 examples of ownable synchronizers provided by the platform.
To detect deadlock in ownable synchronizers, ReentrankLock or ReentrantReadWriteLock, make sure to use findMonitorThreads method.
More Related questions...