[concurrency-interest] TheadLocal variable usage in ReentrantReadWriteLock
rob.griffin at quest.com
Thu Dec 13 22:00:53 EST 2007
I'm seeing a significant number (dozens) of ThreadLocal variables containing values of type ReentrantReadWriteLock$Sync$HoldCounter in a single thread. From the code it would appear that each new ReentrantReadWriteLock instance creates a new ThreadLocal variable named readHolds which is never cleared. Is my interpretation correct?
This is in Java 1.6.0_03
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest