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

Comparing jsr166/src/jsr166x/ConcurrentSkipListMap.java (file contents):
Revision 1.24 by jsr166, Sat Jan 19 21:53:46 2013 UTC vs.
Revision 1.27 by jsr166, Tue Feb 5 17:32:45 2013 UTC

# Line 419 | Line 419 | public class ConcurrentSkipListMap<K,V>
419           * because callers will have already read value field and need
420           * to use that read (not another done here) and so directly
421           * test if value points to node.
422 <         * @param n a possibly null reference to a node
422 >         *
423           * @return true if this node is a marker node
424           */
425          boolean isMarker() {
# Line 507 | Line 507 | public class ConcurrentSkipListMap<K,V>
507          volatile Index<K,V> right;
508  
509          /**
510 <         * Creates index node with given values
510 >         * Creates index node with given values.
511           */
512          Index(Node<K,V> node, Index<K,V> down, Index<K,V> right) {
513              this.node = node;
# Line 1042 | Line 1042 | public class ConcurrentSkipListMap<K,V>
1042       * Adds given index nodes from given level down to 1.
1043       * @param idx the topmost index node being inserted
1044       * @param h the value of head to use to insert. This must be
1045 <     * snapshotted by callers to provide correct insertion level
1045 >     * snapshotted by callers to provide correct insertion level.
1046       * @param indexLevel the level of the index
1047       */
1048      private void addIndex(Index<K,V> idx, HeadIndex<K,V> h, int indexLevel) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines