ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java
Revision 1.163 - (view) (download) (annotate) - [select for diffs]
Sat Jan 28 18:29:49 2023 UTC (15 months, 2 weeks ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.162: +1 -1 lines
Diff to previous 1.162
typo

Revision 1.162 - (view) (download) (annotate) - [select for diffs]
Thu Jun 4 12:03:50 2020 UTC (3 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.161: +77 -160 lines
Diff to previous 1.161
improve loom-friendliness

Revision 1.161 - (view) (download) (annotate) - [select for diffs]
Mon Oct 1 00:10:53 2018 UTC (5 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.160: +1 -1 lines
Diff to previous 1.160
update to using jdk11 by default, except link to jdk10 javadocs;
sync @docRoot references in javadoc with upstream

Revision 1.160 - (view) (download) (annotate) - [select for diffs]
Sun Mar 11 18:00:06 2018 UTC (6 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.159: +1 -1 lines
Diff to previous 1.159
prefer throwing ExceptionInInitializerError from <clinit> to throwing Error

Revision 1.159 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 16:37:50 2018 UTC (6 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.158: +2 -3 lines
Diff to previous 1.158
code simplification

Revision 1.158 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 03:58:45 2018 UTC (6 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.157: +1 -2 lines
Diff to previous 1.157
remove redundant cast

Revision 1.157 - (view) (download) (annotate) - [select for diffs]
Sat May 6 06:49:46 2017 UTC (7 years ago) by jsr166
Branch: MAIN
Changes since 1.156: +1 -1 lines
Diff to previous 1.156
8177789: fix collections framework links to point to java.util package doc

Revision 1.156 - (view) (download) (annotate) - [select for diffs]
Wed Apr 19 23:45:51 2017 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.155: +2 -4 lines
Diff to previous 1.155
Redo @link and @linkplain; one @link was pointing to the wrong poll method

Revision 1.155 - (view) (download) (annotate) - [select for diffs]
Thu Feb 2 02:20:02 2017 UTC (7 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.154: +5 -4 lines
Diff to previous 1.154
improve internal comment

Revision 1.154 - (view) (download) (annotate) - [select for diffs]
Tue Jan 31 22:21:17 2017 UTC (7 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.153: +5 -2 lines
Diff to previous 1.153
better style, better bytecode, as suggested by psandoz

Revision 1.153 - (view) (download) (annotate) - [select for diffs]
Wed Jan 18 23:40:58 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.152: +59 -104 lines
Diff to previous 1.152
xfer: rewrite to avoid theoretical race where fast-forward to tail skips matchable nodes

Revision 1.152 - (view) (download) (annotate) - [select for diffs]
Tue Jan 17 02:44:59 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.151: +24 -26 lines
Diff to previous 1.151
improve sweepVotes implementation

Revision 1.151 - (view) (download) (annotate) - [select for diffs]
Mon Jan 16 22:26:01 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.150: +1 -1 lines
Diff to previous 1.150
unsplice: remove another special case for null head

Revision 1.150 - (view) (download) (annotate) - [select for diffs]
Mon Jan 16 22:14:28 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.149: +2 -1 lines
Diff to previous 1.149
unsplice: fix preconditions

Revision 1.149 - (view) (download) (annotate) - [select for diffs]
Mon Jan 16 21:49:26 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.148: +4 -1 lines
Diff to previous 1.148
unsplice: fix preconditions

Revision 1.148 - (view) (download) (annotate) - [select for diffs]
Mon Jan 16 01:47:16 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.147: +3 -3 lines
Diff to previous 1.147
awaitMatch: remove stale comment about pred same as s

Revision 1.147 - (view) (download) (annotate) - [select for diffs]
Mon Jan 16 01:41:35 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.146: +1 -2 lines
Diff to previous 1.146
tryAppend: remove stale comment about returning s itself

Revision 1.146 - (view) (download) (annotate) - [select for diffs]
Mon Jan 16 01:05:41 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.145: +2 -2 lines
Diff to previous 1.145
tryAppend: eliminate u temp

Revision 1.145 - (view) (download) (annotate) - [select for diffs]
Mon Jan 16 00:57:48 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.144: +2 -4 lines
Diff to previous 1.144
tryAppend: go directly to head on self-link

Revision 1.144 - (view) (download) (annotate) - [select for diffs]
Sun Jan 15 01:16:22 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.143: +23 -14 lines
Diff to previous 1.143
refactor into new method skipDeadNodesNearHead

Revision 1.143 - (view) (download) (annotate) - [select for diffs]
Sun Jan 15 00:00:14 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.142: +12 -8 lines
Diff to previous 1.142
xfer: rework head collapsing loop

Revision 1.142 - (view) (download) (annotate) - [select for diffs]
Sat Jan 14 23:28:10 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.141: +37 -39 lines
Diff to previous 1.141
more refactoring of Node maintenance

Revision 1.141 - (view) (download) (annotate) - [select for diffs]
Sat Jan 14 21:14:47 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.140: +6 -5 lines
Diff to previous 1.140
use inline assignment

Revision 1.140 - (view) (download) (annotate) - [select for diffs]
Sat Jan 14 06:59:57 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.139: +86 -53 lines
Diff to previous 1.139
head and tail should never be null

Revision 1.139 - (view) (download) (annotate) - [select for diffs]
Mon Jan 9 17:46:26 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.138: +17 -8 lines
Diff to previous 1.138
firstDataNode: update head when dead node found

Revision 1.138 - (view) (download) (annotate) - [select for diffs]
Sun Jan 8 03:48:36 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.137: +8 -7 lines
Diff to previous 1.137
save a few volatile reads

Revision 1.137 - (view) (download) (annotate) - [select for diffs]
Sat Jan 7 21:49:33 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.136: +73 -43 lines
Diff to previous 1.136
port traversal method optimizations from CLQ

Revision 1.136 - (view) (download) (annotate) - [select for diffs]
Sat Jan 7 20:07:49 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.135: +1 -0 lines
Diff to previous 1.135
tryCasSuccessor: add assertion

Revision 1.135 - (view) (download) (annotate) - [select for diffs]
Mon Jan 2 07:20:04 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.134: +2 -2 lines
Diff to previous 1.134
xfer: small simplification

Revision 1.134 - (view) (download) (annotate) - [select for diffs]
Mon Jan 2 04:41:13 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.133: +84 -82 lines
Diff to previous 1.133
implement expected O(1) Iterator.remove

Revision 1.133 - (view) (download) (annotate) - [select for diffs]
Mon Jan 2 00:10:14 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.132: +2 -0 lines
Diff to previous 1.132
add assertions that we never cas-unlink the trailing node

Revision 1.132 - (view) (download) (annotate) - [select for diffs]
Sun Jan 1 23:17:58 2017 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.131: +4 -4 lines
Diff to previous 1.131
remove redundant parens

Revision 1.131 - (view) (download) (annotate) - [select for diffs]
Thu Dec 29 23:08:16 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.130: +8 -9 lines
Diff to previous 1.130
Stop trying to enumerate all possible bulk operations in the spec

Revision 1.130 - (view) (download) (annotate) - [select for diffs]
Thu Dec 29 07:54:02 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.129: +3 -1 lines
Diff to previous 1.129
reverting previous commit

Revision 1.129 - (view) (download) (annotate) - [select for diffs]
Thu Dec 29 07:30:28 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.128: +1 -3 lines
Diff to previous 1.128
xfer: remove conditional initialization for s

Revision 1.128 - (view) (download) (annotate) - [select for diffs]
Thu Dec 29 06:45:19 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127
clarify implementation comment

Revision 1.127 - (view) (download) (annotate) - [select for diffs]
Thu Dec 29 04:58:13 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.126: +1 -1 lines
Diff to previous 1.126
clarify comment

Revision 1.126 - (view) (download) (annotate) - [select for diffs]
Thu Dec 29 04:49:39 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.125: +9 -9 lines
Diff to previous 1.125
whitespace

Revision 1.125 - (view) (download) (annotate) - [select for diffs]
Thu Dec 29 03:51:47 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124
next(): initialize in conditional

Revision 1.124 - (view) (download) (annotate) - [select for diffs]
Thu Dec 29 03:28:53 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.123: +34 -12 lines
Diff to previous 1.123
port bulkRemove, clear from CLQ

Revision 1.123 - (view) (download) (annotate) - [select for diffs]
Thu Dec 29 02:57:39 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.122: +0 -1 lines
Diff to previous 1.122
remove @SuppressWarnings

Revision 1.122 - (view) (download) (annotate) - [select for diffs]
Wed Dec 28 20:55:41 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.121: +63 -27 lines
Diff to previous 1.121
optimize forEachFrom, contains, remove(Object)

Revision 1.121 - (view) (download) (annotate) - [select for diffs]
Wed Dec 28 18:07:18 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.120: +5 -4 lines
Diff to previous 1.120
using release write in forgetNext seems slightly safer

Revision 1.120 - (view) (download) (annotate) - [select for diffs]
Wed Dec 28 02:24:17 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.119: +0 -2 lines
Diff to previous 1.119
remove obvious comments

Revision 1.119 - (view) (download) (annotate) - [select for diffs]
Wed Dec 28 02:22:26 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.118: +2 -4 lines
Diff to previous 1.118
standardize on restartFromHead label

Revision 1.118 - (view) (download) (annotate) - [select for diffs]
Wed Dec 28 02:16:48 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.117: +1 -1 lines
Diff to previous 1.117
fix forEachFrom javadoc

Revision 1.117 - (view) (download) (annotate) - [select for diffs]
Tue Dec 27 16:06:17 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.116: +2 -1 lines
Diff to previous 1.116
coding style

Revision 1.116 - (view) (download) (annotate) - [select for diffs]
Tue Dec 27 01:56:14 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.115: +82 -12 lines
Diff to previous 1.115
optimized implementations of bulk operations

Revision 1.115 - (view) (download) (annotate) - [select for diffs]
Mon Dec 26 19:54:46 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.114: +49 -50 lines
Diff to previous 1.114
rewrite spliterators to address 8172023: Concurrent spliterators fail to handle exhaustion properly

Revision 1.114 - (view) (download) (annotate) - [select for diffs]
Mon Dec 26 17:29:35 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.113: +4 -2 lines
Diff to previous 1.113
write to exhausted field only when necessary

Revision 1.113 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 20:51:00 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.112: +5 -5 lines
Diff to previous 1.112
Most uses of firstDataNode are clearer and more efficient if we just hop to head

Revision 1.112 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 20:30:51 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.111: +2 -6 lines
Diff to previous 1.111
loop code golf

Revision 1.111 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 19:32:07 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.110: +6 -7 lines
Diff to previous 1.110
convert to Objects.requireNonNull

Revision 1.110 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 18:37:26 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.109: +3 -11 lines
Diff to previous 1.109
remove succ(Node) abstraction

Revision 1.109 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 18:13:56 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.108: +2 -2 lines
Diff to previous 1.108
remove unneeded type parameter from LTQSpliterator

Revision 1.108 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 16:56:09 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.107: +20 -27 lines
Diff to previous 1.107
improve implementation of remove(Object)

Revision 1.107 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 11:00:36 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.106: +30 -14 lines
Diff to previous 1.106
spliterators might return items from matched request nodes

Revision 1.106 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 09:45:16 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.105: +11 -11 lines
Diff to previous 1.105
rename e to item; may not be an E if self-linked

Revision 1.105 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 09:27:49 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.104: +29 -27 lines
Diff to previous 1.104
Never self-link matched data node items; leave null

Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 09:13:10 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.103: +1 -1 lines
Diff to previous 1.103
remove obvious comment

Revision 1.103 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 08:52:57 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.102: +0 -7 lines
Diff to previous 1.102
remove unused method isUnmatchedRequest

Revision 1.102 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 08:44:42 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.101: +5 -2 lines
Diff to previous 1.101
never unlink an unmatched Node

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 08:29:02 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.100: +3 -3 lines
Diff to previous 1.100
remove redundant isData parameter from Node constructor

Revision 1.100 - (view) (download) (annotate) - [select for diffs]
Sat Dec 24 04:32:50 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.99: +3 -2 lines
Diff to previous 1.99
coding style

Revision 1.99 - (view) (download) (annotate) - [select for diffs]
Sat Nov 26 23:00:05 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.98: +2 -2 lines
Diff to previous 1.98
fix URL for 2004_DISC_dual_DS.pdf

Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Mon Jun 13 15:31:25 2016 UTC (7 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.97: +1 -1 lines
Diff to previous 1.97
fix JDK-8159351: non-atomic "bulk" ops note in class javadoc for ConcurrentLinkedQueue, ConcurrentLinkedDeque, & LinkedTransferQueue should not include equals

Revision 1.97 - (view) (download) (annotate) - [select for diffs]
Thu Jun 2 13:16:27 2016 UTC (7 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.96: +31 -33 lines
Diff to previous 1.96
VarHandles conversion; pass 1

Revision 1.96 - (view) (download) (annotate) - [select for diffs]
Tue Apr 19 22:55:30 2016 UTC (8 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95
s~\bsun\.(misc\.Unsafe)\b~jdk.internal.$1~g;
s~\bputOrdered([A-Za-z]+)\b~put${1}Release~g

Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Sat Oct 3 18:17:51 2015 UTC (8 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.94: +1 -1 lines
Diff to previous 1.94
compare longs against 0L, not 0

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Wed Jun 17 02:21:25 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.93: +9 -15 lines
Diff to previous 1.93
make LTQSpliterator an inner class

Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Sat Jun 13 22:33:38 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.92: +17 -16 lines
Diff to previous 1.92
remove firstOfMode; implement hasWaitingConsumer with customary low-level loop

Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Sat Jun 13 18:49:24 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.91: +16 -20 lines
Diff to previous 1.91
remove firstDataItem; inline into peek; use restartFromHead idiom

Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Sat Jun 13 17:06:03 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.90: +12 -10 lines
Diff to previous 1.90
Nano-optimize firstDataNode to use restartFromHead idiom

Revision 1.90 - (view) (download) (annotate) - [select for diffs]
Sat Jun 13 16:52:11 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.89: +2 -6 lines
Diff to previous 1.89
simplify isEmpty() to: firstDataNode() == null

Revision 1.89 - (view) (download) (annotate) - [select for diffs]
Thu Jun 11 16:23:03 2015 UTC (8 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.88: +3 -3 lines
Diff to previous 1.88
Ensure only data nodes in Spliterator

Revision 1.88 - (view) (download) (annotate) - [select for diffs]
Tue Jun 9 23:57:39 2015 UTC (8 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.87: +9 -5 lines
Diff to previous 1.87
Check for removal after return from firstDataNode

Revision 1.87 - (view) (download) (annotate) - [select for diffs]
Tue Jun 9 17:18:05 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.86: +1 -1 lines
Diff to previous 1.86
whitespace

Revision 1.86 - (view) (download) (annotate) - [select for diffs]
Tue May 26 20:20:31 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.85: +3 -2 lines
Diff to previous 1.85
whitespace

Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Mon Mar 23 18:48:19 2015 UTC (9 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.84: +4 -0 lines
Diff to previous 1.84
JDK-8074773: Reduce the risk of rare disastrous classloading in first call to LockSupport.park

Revision 1.84 - (view) (download) (annotate) - [select for diffs]
Fri Mar 6 00:23:21 2015 UTC (9 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83
Avoid potential cancellation loss on flip

Revision 1.83 - (view) (download) (annotate) - [select for diffs]
Wed Mar 4 00:22:30 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.82: +1 -16 lines
Diff to previous 1.82
optimize toString() methods; introduce Helpers

Revision 1.82 - (view) (download) (annotate) - [select for diffs]
Fri Feb 20 03:09:08 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.81: +136 -0 lines
Diff to previous 1.81
improve toArray and toString implementations

Revision 1.81 - (view) (download) (annotate) - [select for diffs]
Wed Feb 18 06:39:40 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.80: +1 -3 lines
Diff to previous 1.80
use "standard" if (p == (p = p.next)) idiom

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 09:15:11 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.79: +29 -33 lines
Diff to previous 1.79
standardize Unsafe mechanics; slightly smaller bytecode

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 01:06:15 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78
use ReflectiveOperationException for Unsafe mechanics

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 09:37:20 2014 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.77: +0 -3 lines
Diff to previous 1.77
remove unused/redundant imports

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 08:20:26 2014 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.76: +4 -4 lines
Diff to previous 1.76
indentation

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 07:54:14 2014 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.75: +2 -3 lines
Diff to previous 1.75
standardize import statement order

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Tue Dec 2 05:48:29 2014 UTC (9 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.74: +1 -1 lines
Diff to previous 1.74
this collection => this XXX

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Sun Nov 23 17:44:51 2014 UTC (9 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.73: +9 -8 lines
Diff to previous 1.73
save a few bytes of bytecode

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Tue Nov 11 04:39:30 2014 UTC (9 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.72: +14 -15 lines
Diff to previous 1.72
improve accuracy of concurrent queue size methods

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Wed Oct 29 20:23:14 2014 UTC (9 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.71: +1 -1 lines
Diff to previous 1.71
use new URL for the Micheal/Scott paper

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Thu Aug 21 11:35:15 2014 UTC (9 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.70: +6 -7 lines
Diff to previous 1.70
Avoid potential cancellation race

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Mon Jun 23 23:04:42 2014 UTC (9 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.69: +10 -11 lines
Diff to previous 1.69
replace cast() method with straight-forward uses of @SuppressWarnings, in the spirit of Java

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Fri Aug 16 13:40:27 2013 UTC (10 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68
punctuation

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Thu Aug 8 20:12:10 2013 UTC (10 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.67: +5 -6 lines
Diff to previous 1.67
refactor definitions of "weakly consistent" into package-info.java

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Thu Aug 8 15:13:34 2013 UTC (10 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.66: +13 -0 lines
Diff to previous 1.66
add javadoc for spliterator()

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Thu Jul 18 18:21:22 2013 UTC (10 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.65: +4 -0 lines
Diff to previous 1.65
javadoc warning fixes: add serialization method @throws

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Thu Jul 18 17:38:29 2013 UTC (10 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.64: +2 -0 lines
Diff to previous 1.64
javadoc warning fixes: add serialization method @param

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Wed Jun 19 16:57:06 2013 UTC (10 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.63: +0 -1 lines
Diff to previous 1.63
whitespace

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Fri Jun 7 23:56:37 2013 UTC (10 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.62: +1 -6 lines
Diff to previous 1.62
Sync with lambda

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Thu May 2 05:56:15 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.61: +0 -1 lines
Diff to previous 1.61
port to latest lambda

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Wed Mar 27 19:46:34 2013 UTC (11 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.60: +1 -1 lines
Diff to previous 1.60
conform to updated lambda Spliterator

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Mon Mar 18 12:40:30 2013 UTC (11 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.59: +10 -17 lines
Diff to previous 1.59
Mesh Map and Spliterator methods with lambda

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun Mar 17 15:48:53 2013 UTC (11 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
remove package qualification for ForkJoinTask

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sun Mar 17 15:34:21 2013 UTC (11 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57
whitespace

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sat Mar 16 16:03:08 2013 UTC (11 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.56: +14 -5 lines
Diff to previous 1.56
Sync with lambda spliterator semantics

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Wed Mar 13 12:39:02 2013 UTC (11 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.55: +1 -9 lines
Diff to previous 1.55
Synch with lambda Spliterator API

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Tue Feb 26 17:28:00 2013 UTC (11 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54
promote comments to actual javadoc

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Mon Feb 25 17:59:40 2013 UTC (11 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.53: +6 -2 lines
Diff to previous 1.53
lambda syncs and improvements

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Mon Feb 18 01:30:24 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.52: +5 -5 lines
Diff to previous 1.52
whitespace

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sun Feb 17 23:36:34 2013 UTC (11 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.51: +125 -0 lines
Diff to previous 1.51
Spliterator sync

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Mon Dec 19 19:58:00 2011 UTC (12 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.50: +3 -4 lines
Diff to previous 1.50
s/lastTime/deadline/g

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Mon Dec 12 20:53:11 2011 UTC (12 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +2 -6 lines
Diff to previous 1.49
uniform serialization method javadocs

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Tue Dec 6 04:37:55 2011 UTC (12 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +2 -1 lines
Diff to previous 1.48
@SuppressWarnings on its own line of code

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Thu Nov 24 02:35:13 2011 UTC (12 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.47: +0 -1 lines
Diff to previous 1.47
whitespace

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Tue Jun 21 19:47:21 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +2 -4 lines
Diff to previous 1.46
coding style

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Mon Jun 6 00:47:21 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45
fix javac 7 [static] warnings

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Jun 4 17:57:59 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
very small doc improvement

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Fri Jun 3 14:17:10 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.43: +1 -1 lines
Diff to previous 1.43
typo

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Fri Jun 3 02:28:05 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
fix javac 7 [rawtypes] warnings

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Fri May 27 23:41:19 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +4 -2 lines
Diff to previous 1.41
suppress warnings whether running javac or javadoc, and whether in package jsr166y or j.u.c.

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri Apr 22 13:46:46 2011 UTC (13 years, 1 month ago) by dl
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.40: +4 -4 lines
Diff to previous 1.40
Use {@code} not <tt>

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Fri Apr 22 11:51:43 2011 UTC (13 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.39: +10 -3 lines
Diff to previous 1.39
Improved bulk operation disclaimers for concurrent collections

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue Mar 15 19:47:03 2011 UTC (13 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
Update Creative Commons license URL in legal notices

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Tue Feb 22 23:53:32 2011 UTC (13 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.37: +35 -25 lines
Diff to previous 1.37
Reduce dependencies in static initialization

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Nov 29 20:58:06 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
consistent ternary operator style

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri Nov 19 08:02:10 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.35: +7 -8 lines
Diff to previous 1.35
make iterator weakly consistent specs more consistent

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Sun Nov 14 02:33:58 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.34: +1 -0 lines
Diff to previous 1.34
add a newline

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sun Nov 14 02:31:23 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
whitespace

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sat Nov 13 15:46:35 2010 UTC (13 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.32: +58 -17 lines
Diff to previous 1.32
Iterator consistency and unsplicing

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 18:27:39 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +1 -2 lines
Diff to previous 1.31
sync offer method @return javadoc

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu Sep 30 02:09:47 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
a small simplification

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Thu Sep 30 01:35:20 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.29: +22 -0 lines
Diff to previous 1.29
add optimized contains() method implementations

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Sat Sep 11 21:08:29 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28
coding style

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Fri Sep 10 00:08:06 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.27: +6 -4 lines
Diff to previous 1.27
Fix infloop in sweep

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Thu Sep 9 16:52:23 2010 UTC (13 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
Restore dropped conditional

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Sep 1 23:40:29 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25
very small docstring improvement

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Wed Sep 1 22:49:09 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
Use relaxed Unsafe.putObject in Node constructors

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Wed Sep 1 21:55:34 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.23: +12 -12 lines
Diff to previous 1.23
very small doc improvement

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Wed Sep 1 21:43:08 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
very small doc improvement

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Tue Aug 17 18:31:59 2010 UTC (13 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.21: +6 -5 lines
Diff to previous 1.21
Reduce resources during periods without use

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon Apr 5 16:05:09 2010 UTC (14 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.20: +5 -1 lines
Diff to previous 1.20
Sync with jsr166y versions

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Nov 16 01:02:49 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.19: +8 -7 lines
Diff to previous 1.19
improve sweep()

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Nov 15 02:29:13 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
typos

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sun Nov 15 02:00:26 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
typos

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sun Nov 15 01:53:11 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16
typos

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Nov 14 20:27:25 2009 UTC (14 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.15: +147 -155 lines
Diff to previous 1.15
Overhaul handling of interior removals

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Nov 2 19:06:43 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14
sync with jsr166y package

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Nov 2 15:33:59 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.13: +82 -79 lines
Diff to previous 1.13
sync with jsr166y package

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Fri Oct 30 18:35:22 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.12: +21 -14 lines
Diff to previous 1.12
sync with jsr166y package

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Oct 29 00:34:48 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.11: +4 -2 lines
Diff to previous 1.11
sync with jsr166y package

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Oct 28 10:29:13 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.10: +17 -12 lines
Diff to previous 1.10
sync with jsr166y package

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Oct 28 00:15:07 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9
sync with jsr166y package

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Oct 28 00:00:38 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
sync with jsr166y package

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Oct 27 23:21:32 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.7: +778 -483 lines
Diff to previous 1.7
sync with jsr166y package

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Aug 4 20:41:40 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.6: +18 -23 lines
Diff to previous 1.6
sync with jsr166 package

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Mon Aug 3 01:18:07 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.5: +40 -12 lines
Diff to previous 1.5
sync with jsr166 package

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Fri Jul 31 20:41:13 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.4: +136 -92 lines
Diff to previous 1.4
sync with jsr166 package

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Jul 29 02:35:47 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.3: +52 -11 lines
Diff to previous 1.3
sync with jsr166y package

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Jul 26 17:48:58 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.2: +13 -14 lines
Diff to previous 1.2
sync with jsr166y package

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Jul 26 07:04:29 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1
sync with jsr166y package

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Jul 25 01:06:20 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
branch jsr166y into java.util.concurrent

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a