[concurrency-interest] ConcurrentHashMapV8 typo?

Oleksiy Stashok oleksiy.stashok at oracle.com
Fri Aug 9 13:17:33 EDT 2013


Hi,

guys can you pls. doublecheck the method 
ConcurrentHashMapV8.contendedLock() : 2689
The comparison

else if ((s | WAITER) == 0)


looks suspicious, shouldn't it be

else if ((s & WAITER) == 0)

?

Thanks.

WBR,
Alexey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20130809/01182380/attachment.html>


More information about the Concurrency-interest mailing list