ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jdk7/java/util/concurrent/ConcurrentHashMap.java
(Generate patch)

Comparing jsr166/src/jdk7/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.31 by jsr166, Sat Jul 20 20:36:56 2013 UTC vs.
Revision 1.32 by dl, Fri Aug 9 18:43:51 2013 UTC

# Line 2017 | Line 2017 | public class ConcurrentHashMap<K,V> impl
2017                          return;
2018                      }
2019                  }
2020 <                else if ((s | WAITER) == 0) {
2020 >                else if ((s & WAITER) == 0) {
2021                      if (U.compareAndSwapInt(this, LOCKSTATE, s, s | WAITER)) {
2022                          waiting = true;
2023                          waiter = Thread.currentThread();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines