[concurrency-interest] RRWL with 'bad' Thread.getId() implementations
valentin.male.kovalenko at gmail.com
Wed Jun 26 17:05:30 EDT 2013
Now I see, my code with only two threads reproduces the bug for Oracle
JDK1.6 implementation, but for JDK1.7 implementation one actually need
three threads to reproduce the bug.
>>There is special logic in place in RRWL (firstReader/firstReaderHoldCount)
>>to optimize the uncontended read lock scenario, this is why you need to
>>the an additional thread to push you past this logic and expose the issue
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest