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

Comparing jsr166/src/extra166y/CustomConcurrentHashMap.java (file contents):
Revision 1.7 by dl, Mon Nov 2 11:47:36 2009 UTC vs.
Revision 1.8 by jsr166, Sun Nov 22 18:58:57 2009 UTC

# Line 537 | Line 537 | public class CustomConcurrentHashMap<K,
537              while (capacity < sc)
538                  capacity <<= 1;
539              if (capacity > MAX_SEGMENT_CAPACITY)
540 <                capacity = MAX_SEGMENT_CAPACITY;
540 >                capacity = MAX_SEGMENT_CAPACITY;
541              this.initialSegmentCapacity = capacity;
542          }
543          this.segments = (Segment[])new Segment[NSEGMENTS];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines