ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/ConcurrentHashMapV8.java
(Generate patch)

Comparing jsr166/src/jsr166e/ConcurrentHashMapV8.java (file contents):
Revision 1.10 by dl, Tue Aug 30 16:03:48 2011 UTC vs.
Revision 1.12 by jsr166, Tue Aug 30 18:31:54 2011 UTC

# Line 390 | Line 390 | public class ConcurrentHashMapV8<K, V>
390                          validated = true;
391                          for (Node first = e;;) {
392                              Object ek, ev;
393 <                            if (e.hash == h &&
393 >                            if (e.hash == h &&
394                                  (ek = e.key) != null &&
395                                  (ev = e.val) != null &&
396                                  (k == ek || k.equals(ek))) {
# Line 485 | Line 485 | public class ConcurrentHashMapV8<K, V>
485          V val = null;
486          boolean added = false;
487          Node[] tab = table;
488 <        for(;;) {
488 >        for (;;) {
489              Node e; int i;
490              if (tab == null)
491                  tab = grow(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines