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.30 by jsr166, Mon Jan 28 22:49:39 2013 UTC vs.
Revision 1.31 by jsr166, Tue Feb 5 17:39:56 2013 UTC

# Line 351 | Line 351 | public class CustomConcurrentHashMap<K,
351       * Each Segment holds a count and table corresponding to a segment
352       * of the table. This class contains only those methods for
353       * directly assigning these fields, which must only be called
354 <     * while holding locks
354 >     * while holding locks.
355       */
356      static final class Segment extends ReentrantLock {
357          volatile Node[] table;
# Line 386 | Line 386 | public class CustomConcurrentHashMap<K,
386          }
387  
388          /**
389 <         * See the similar code in ConcurrentHashMap for explanation
389 >         * See the similar code in ConcurrentHashMap for explanation.
390           */
391          final Node[] resizeTable(CustomConcurrentHashMap cchm) {
392              Node[] oldTable = table;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines