ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ArrayBlockingQueue.java
Revision 1.152 - (view) (download) (annotate) - [select for diffs]
Thu Oct 17 01:51:37 2019 UTC (4 years, 7 months ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.151: +3 -0 lines
Diff to previous 1.151
8232230: Suppress warnings on non-serializable non-transient instance fields in java.util.concurrent

Revision 1.151 - (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.150: +1 -1 lines
Diff to previous 1.150
update to using jdk11 by default, except link to jdk10 javadocs;
sync @docRoot references in javadoc with upstream

Revision 1.150 - (view) (download) (annotate) - [select for diffs]
Sun Jun 10 20:13:12 2018 UTC (5 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.149: +1 -1 lines
Diff to previous 1.149
use long math (although int overflow is very unlikely)

Revision 1.149 - (view) (download) (annotate) - [select for diffs]
Mon Jan 22 00:08:50 2018 UTC (6 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.148: +30 -32 lines
Diff to previous 1.148
refactor readObject and invariant checking methods

Revision 1.148 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 03:24:15 2018 UTC (6 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.147: +26 -0 lines
Diff to previous 1.147
8189284: More refactoring for deserialization cases

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

Revision 1.146 - (view) (download) (annotate) - [select for diffs]
Mon Feb 13 00:06:05 2017 UTC (7 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.145: +1 -0 lines
Diff to previous 1.145
detach exhausted iterators whose last element was asynchronously removed

Revision 1.145 - (view) (download) (annotate) - [select for diffs]
Thu Dec 29 22:36:18 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.144: +2 -3 lines
Diff to previous 1.144
whitespace

Revision 1.144 - (view) (download) (annotate) - [select for diffs]
Fri Dec 9 08:05:45 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.143: +5 -0 lines
Diff to previous 1.143
explain unconditional detach after Iterator.forEachRemaining

Revision 1.143 - (view) (download) (annotate) - [select for diffs]
Thu Dec 8 05:05:37 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.142: +3 -0 lines
Diff to previous 1.142
add javadoc for @inheritDoc

Revision 1.142 - (view) (download) (annotate) - [select for diffs]
Sun Dec 4 23:30:34 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.141: +4 -2 lines
Diff to previous 1.141
improve circularClear

Revision 1.141 - (view) (download) (annotate) - [select for diffs]
Tue Nov 29 07:29:31 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.140: +12 -12 lines
Diff to previous 1.140
E x -> E e

Revision 1.140 - (view) (download) (annotate) - [select for diffs]
Sun Nov 20 20:34:08 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.139: +1 -2 lines
Diff to previous 1.139
code golf

Revision 1.139 - (view) (download) (annotate) - [select for diffs]
Fri Nov 18 19:30:36 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.138: +4 -2 lines
Diff to previous 1.138
checkInvariants: more rationale

Revision 1.138 - (view) (download) (annotate) - [select for diffs]
Fri Nov 18 03:20:35 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.137: +9 -0 lines
Diff to previous 1.137
explain relationship with ArrayDeque

Revision 1.137 - (view) (download) (annotate) - [select for diffs]
Sun Nov 13 02:10:09 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.136: +74 -51 lines
Diff to previous 1.136
Tolerate reentrant read access in removeIf

Revision 1.136 - (view) (download) (annotate) - [select for diffs]
Mon Nov 7 00:37:53 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.135: +32 -0 lines
Diff to previous 1.135
Optimize Iterator.forEachRemaining, as in ArrayDeque

Revision 1.135 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 19:12:22 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.134: +104 -6 lines
Diff to previous 1.134
Optimize removeIf/removeAll/retainAll, at least when no active iterators; code ported from ArrayDeque

Revision 1.134 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 16:01:29 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.133: +8 -8 lines
Diff to previous 1.133
improve invariant checking

Revision 1.133 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 15:37:50 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.132: +2 -0 lines
Diff to previous 1.132
improve collection constructor

Revision 1.132 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 15:30:17 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.131: +1 -1 lines
Diff to previous 1.131
lint

Revision 1.131 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 06:29:32 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.130: +22 -12 lines
Diff to previous 1.130
Optimize clear() using nested loop trick, as in ArrayDeque

Revision 1.130 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 05:57:19 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.129: +10 -9 lines
Diff to previous 1.129
Optimize remove(Object) using nested loop trick, as in ArrayDeque

Revision 1.129 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 04:18:30 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.128: +8 -7 lines
Diff to previous 1.128
Optimize contains() using nested loop trick, as in ArrayDeque

Revision 1.128 - (view) (download) (annotate) - [select for diffs]
Sat Nov 5 22:24:57 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.127: +54 -6 lines
Diff to previous 1.127
Optimize forEach using nested loop trick, as in ArrayDeque

Revision 1.127 - (view) (download) (annotate) - [select for diffs]
Sat Nov 5 21:34:09 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.126: +20 -0 lines
Diff to previous 1.126
implement Collection.forEach efficiently

Revision 1.126 - (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.125: +2 -2 lines
Diff to previous 1.125
compare longs against 0L, not 0

Revision 1.125 - (view) (download) (annotate) - [select for diffs]
Wed Jun 17 06:49:07 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.124: +1 -1 lines
Diff to previous 1.124
import order

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

Revision 1.123 - (view) (download) (annotate) - [select for diffs]
Wed Mar 4 00:45:20 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.122: +1 -1 lines
Diff to previous 1.122
move declaration into nested block

Revision 1.122 - (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.121: +1 -21 lines
Diff to previous 1.121
optimize toString() methods; introduce Helpers

Revision 1.121 - (view) (download) (annotate) - [select for diffs]
Fri Feb 27 07:33:00 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.120: +1 -1 lines
Diff to previous 1.120
elide null assignment in <init>

Revision 1.120 - (view) (download) (annotate) - [select for diffs]
Sun Feb 22 02:32:23 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.119: +20 -22 lines
Diff to previous 1.119
rewrite toArray methods to use Arrays.copyOfRange strategy

Revision 1.119 - (view) (download) (annotate) - [select for diffs]
Sat Feb 21 17:15:00 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.118: +7 -18 lines
Diff to previous 1.118
s/checkNotNull/Objects.requireNonNull/g

Revision 1.118 - (view) (download) (annotate) - [select for diffs]
Fri Feb 20 21:38:43 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.117: +17 -20 lines
Diff to previous 1.117
refactor common bodies of toArray methods

Revision 1.117 - (view) (download) (annotate) - [select for diffs]
Tue Feb 17 18:55:39 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.116: +1 -1 lines
Diff to previous 1.116
standardize code sample idiom: * <pre> {@code

Revision 1.116 - (view) (download) (annotate) - [select for diffs]
Sun Feb 15 17:43:06 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.115: +10 -20 lines
Diff to previous 1.115
use consistent modular increment idiom

Revision 1.115 - (view) (download) (annotate) - [select for diffs]
Sun Feb 15 17:04:49 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.114: +7 -11 lines
Diff to previous 1.114
improve removeAt bytecode

Revision 1.114 - (view) (download) (annotate) - [select for diffs]
Mon Feb 9 05:29:53 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.113: +4 -5 lines
Diff to previous 1.113
small improvement in bytecode quality

Revision 1.113 - (view) (download) (annotate) - [select for diffs]
Mon Feb 9 04:49:25 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.112: +1 -1 lines
Diff to previous 1.112
javadoc style

Revision 1.112 - (view) (download) (annotate) - [select for diffs]
Sun Feb 8 18:17:51 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.111: +9 -8 lines
Diff to previous 1.111
improve un-tracking of iterators after interior removes

Revision 1.111 - (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.110: +0 -2 lines
Diff to previous 1.110
remove unused/redundant imports

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

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

Revision 1.108 - (view) (download) (annotate) - [select for diffs]
Fri Apr 11 21:15:44 2014 UTC (10 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107
remove redundant initializations to null or 0

Revision 1.107 - (view) (download) (annotate) - [select for diffs]
Tue Oct 22 15:21:30 2013 UTC (10 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.106: +2 -2 lines
Diff to previous 1.106
javadoc typo fixes from Sergey Malenkov; https://bugs.openjdk.java.net/browse/JDK-8022746

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

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

Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Thu May 2 06:02:17 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.103: +0 -1 lines
Diff to previous 1.103
port to latest lambda

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

Revision 1.102 - (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.101: +2 -2 lines
Diff to previous 1.101
lambda syncs and improvements

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Fri Feb 22 00:58:05 2013 UTC (11 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.100: +2 -2 lines
Diff to previous 1.100
Spliterator updates

Revision 1.100 - (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.99: +51 -21 lines
Diff to previous 1.99
Spliterator sync

Revision 1.99 - (view) (download) (annotate) - [select for diffs]
Sun Feb 17 16:44:56 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.98: +1 -1 lines
Diff to previous 1.98
optimize peek

Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Sun Feb 17 06:11:39 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.97: +14 -4 lines
Diff to previous 1.97
optimize toArray

Revision 1.97 - (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.96: +4 -2 lines
Diff to previous 1.96
@SuppressWarnings on its own line of code

Revision 1.96 - (view) (download) (annotate) - [select for diffs]
Fri Dec 2 15:47:22 2011 UTC (12 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95
avoid introducing locals just for warning suppression

Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Thu Jul 21 20:52:12 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.94: +53 -53 lines
Diff to previous 1.94
comment out asserts (replace-regexp "\\(^ *\\)assert " "\\1// assert " nil)

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Mon Jul 18 20:08:18 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.93: +38 -16 lines
Diff to previous 1.93
Improve the class comment for class Itrs

Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Sun Jul 17 13:05:58 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.92: +31 -11 lines
Diff to previous 1.92
doSomeSweeping should do full sweep unless probes counts down to zero

Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Sat Jul 16 23:15:46 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.91: +10 -12 lines
Diff to previous 1.91
rework logic of Itr.remove()

Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Sat Jul 16 22:43:06 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.90: +41 -29 lines
Diff to previous 1.90
use symbolic special index values for readability

Revision 1.90 - (view) (download) (annotate) - [select for diffs]
Fri Jul 15 19:45:00 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.89: +28 -26 lines
Diff to previous 1.89
minor improvements to removeAt

Revision 1.89 - (view) (download) (annotate) - [select for diffs]
Fri Jul 15 18:49:31 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.88: +577 -57 lines
Diff to previous 1.88
Robust weak consistency for ArrayBlockingQueue iterators

Revision 1.88 - (view) (download) (annotate) - [select for diffs]
Sun Jul 3 02:46:10 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.87: +8 -8 lines
Diff to previous 1.87
rename some private methods

Revision 1.87 - (view) (download) (annotate) - [select for diffs]
Sun Jul 3 01:30:30 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.86: +5 -5 lines
Diff to previous 1.86
sync iterator() javadoc style with other classes

Revision 1.86 - (view) (download) (annotate) - [select for diffs]
Sun Jul 3 00:36:33 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.85: +30 -15 lines
Diff to previous 1.85
optimize contains, remove, clear

Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Sat Jul 2 19:10:06 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.84: +8 -2 lines
Diff to previous 1.84
coding style

Revision 1.84 - (view) (download) (annotate) - [select for diffs]
Fri Jul 1 17:39:54 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.83: +5 -8 lines
Diff to previous 1.83
abandon ArrayBlockingQueue.<E>cast warning suppression trick

Revision 1.83 - (view) (download) (annotate) - [select for diffs]
Fri Jul 1 17:27:16 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.82: +4 -5 lines
Diff to previous 1.82
optimize drainTo signalling

Revision 1.82 - (view) (download) (annotate) - [select for diffs]
Mon Jun 27 08:53:46 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.81: +18 -13 lines
Diff to previous 1.81
ABQ.drainTo should handle throws in c.add in the same style as LBQ.drainTo

Revision 1.81 - (view) (download) (annotate) - [select for diffs]
Mon Jun 20 08:33:02 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.80: +4 -30 lines
Diff to previous 1.80
drainTo(c) should delegate to drainTo(c, maxElements)

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Thu Jun 9 07:48:43 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.79: +1 -2 lines
Diff to previous 1.79
consistent style for code snippets

Revision 1.79 - (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.78: +4 -4 lines
Diff to previous 1.78
fix javac 7 [static] warnings

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

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Thu Nov 18 22:06:04 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.76: +5 -2 lines
Diff to previous 1.76
Recycle the iterator() spec from CLQ

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Thu Nov 18 22:02:42 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.75: +1 -1 lines
Diff to previous 1.75
<tt>->@code

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Mon Nov 15 14:39:54 2010 UTC (13 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.74: +20 -26 lines
Diff to previous 1.74
Recheck item in iterator.next

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Mon Nov 1 23:53:33 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.73: +0 -1 lines
Diff to previous 1.73
delete unused variable

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Mon Oct 18 04:13:04 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.72: +7 -4 lines
Diff to previous 1.72
small comment improvements

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Mon Oct 18 04:09:41 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.71: +1 -1 lines
Diff to previous 1.71
whitespace

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Sun Oct 10 04:29:39 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.70: +14 -2 lines
Diff to previous 1.70
Update iterator index on iterator.remove()

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Thu Sep 30 02:10:51 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.69: +4 -4 lines
Diff to previous 1.69
revert to this.<E>cast syntax

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Thu Sep 30 00:41:27 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.68: +34 -34 lines
Diff to previous 1.68
<code> => {@code

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Thu Sep 30 00:24:20 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.67: +100 -75 lines
Diff to previous 1.67
fix javac warnings; optimize copy constructor, toString

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Mon Sep 27 20:37:47 2010 UTC (13 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66
Re-place remaining check inside lock

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Sep 27 18:14:29 2010 UTC (13 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.65: +17 -14 lines
Diff to previous 1.65
Revert last change -- lock in next simplifies memory model conformance

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Mon Sep 27 12:00:37 2010 UTC (13 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.64: +14 -17 lines
Diff to previous 1.64
Reduce locking in iterator

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Sun Sep 26 18:09:48 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63
Add <p>

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Sun Sep 26 18:02:18 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62
Add <p>

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Sun Sep 26 17:52:54 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61
wording clarification

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Sun Sep 26 17:39:56 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.60: +3 -1 lines
Diff to previous 1.60
null out lastItem when invalid

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Sep 26 12:24:08 2010 UTC (13 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.59: +55 -64 lines
Diff to previous 1.59
Fix specs and code for iterators wrt interior removals

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Fri Jul 23 16:35:02 2010 UTC (13 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.58: +9 -14 lines
Diff to previous 1.58
hand-inline empty() and full() methods, to appease hotspot

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Mon Jul 12 20:15:19 2010 UTC (13 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +27 -53 lines
Diff to previous 1.57
cleaner Condition-handling

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Tue Sep 1 22:18:53 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56
Use enhanced for loop

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sun May 18 23:47:56 2008 UTC (16 years ago) by jsr166
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55
Sync with OpenJDK; untabify

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sat Jun 3 17:38:46 2006 UTC (17 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54
Remove incorrect "transient" qualifiers

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sun May 28 23:36:29 2006 UTC (17 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53
Location of Collections Guide has changed

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Fri Sep 23 18:08:35 2005 UTC (18 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52
hold locks only when necessary

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Mon Jul 18 19:14:17 2005 UTC (18 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51
doc fixes

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Wed May 18 01:43:27 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.50: +1 -1 lines
Diff to previous 1.50
whitespace

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Tue May 17 17:11:59 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.49: +188 -103 lines
Diff to previous 1.49
doc fixes

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon May 2 08:35:49 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.48: +12 -12 lines
Diff to previous 1.48
E o -> E e

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Mon May 2 02:47:17 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.47: +7 -7 lines
Diff to previous 1.47
doc fixes

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Tue Apr 26 01:17:18 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.46: +8 -8 lines
Diff to previous 1.46
doc fixes

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Wed Jun 9 23:22:06 2004 UTC (19 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45
Wording fix for ArrayBlockingQueue
Added Internal comments to ThreadPoolExecutor

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Wed Jun 2 23:49:06 2004 UTC (19 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
CopyOnWriteArraySet and ConcurrentHashMap no longer implement Cloneable
Improve javadoc wording in other classes

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Thu May 27 11:06:11 2004 UTC (19 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.43: +9 -2 lines
Diff to previous 1.43
Override javadoc specs when overriding AbstractQueue implementations
Clarify atomicity in BlockingQueue

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sat Apr 10 14:25:24 2004 UTC (20 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.42: +3 -2 lines
Diff to previous 1.42
Documentation improvements

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sun Feb 8 15:35:10 2004 UTC (20 years, 3 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PFD
Changes since 1.41: +8 -8 lines
Diff to previous 1.41
Wording cleanups; Improve SynchronousQueue serialization and fairness support

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Tue Jan 27 11:36:31 2004 UTC (20 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.40: +4 -0 lines
Diff to previous 1.40
Add Collection framework membership doc

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Wed Jan 21 15:20:35 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.39: +7 -8 lines
Diff to previous 1.39
doc improvements; consistent conventions for nested classes

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Mon Dec 29 19:05:22 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
spellcheck

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 19:26:25 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37
Headers reference Creative Commons

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 17:19:03 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
Adapt to AbstractQueuedSynchronizer

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Tue Dec 23 19:38:09 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.35: +49 -99 lines
Diff to previous 1.35
cache finals across volatiles; avoid readResolve; doc improvments; timed invokeAll interleaves

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed Nov 12 01:04:24 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_DEC9_POST_ES_SUBMIT, JSR166_DEC9_PRE_ES_SUBMIT
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
fixed typos; avoided some casts

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Oct 22 12:08:29 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_NOV3_FREEZE
Changes since 1.33: +1 -1 lines
Diff to previous 1.33
Removed unnecessary cast

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Oct 19 13:38:34 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
Changed doc strings for generic params

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Oct 18 12:29:33 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.31: +1 -0 lines
Diff to previous 1.31
Added docs for type params

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Oct 11 15:37:31 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30
Redeclare some Conditions as ReentrantLock.ConditionObjects

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sun Oct 5 23:00:17 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.29: +79 -0 lines
Diff to previous 1.29
added drainTo; clarified various exception specs

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Fri Sep 26 11:37:10 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
Spellcheck

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Sep 15 12:02:46 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.27: +13 -0 lines
Diff to previous 1.27
Fix some javadoc inconsistencies

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Sep 15 06:20:12 2003 UTC (20 years, 8 months ago) by dholmes
Branch: MAIN
Changes since 1.26: +3 -16 lines
Diff to previous 1.26
Restored references to insertion at tail.
Removed duplicate @param and @return comments in overriding methods.

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sat Sep 13 18:51:10 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.25: +3 -0 lines
Diff to previous 1.25
Proofreading pass -- many minor adjustments

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Fri Sep 12 15:40:10 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.24: +31 -59 lines
Diff to previous 1.24
Adapt AbstractQueue changes; Conditionalize CancellableTask.reset; new TimeUnit methods

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Aug 25 19:27:58 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.23: +1 -0 lines
Diff to previous 1.23
serialVersionUIDs

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Fri Aug 8 20:05:07 2003 UTC (20 years, 9 months ago) by tim
Branch: MAIN
Changes since 1.22: +24 -48 lines
Diff to previous 1.22
Scrunched catch, finally, else clauses.

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Wed Aug 6 11:11:49 2003 UTC (20 years, 9 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_CR1
Changes since 1.21: +5 -0 lines
Diff to previous 1.21
Clarify iterator semantics

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Aug 6 01:57:53 2003 UTC (20 years, 9 months ago) by dholmes
Branch: MAIN
Changes since 1.20: +51 -26 lines
Diff to previous 1.20
Final major updates to Collection related classes.

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Aug 4 16:14:48 2003 UTC (20 years, 9 months ago) by tim
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19
Make atomics emulation classes match the main atomics.
Fix docs for atomics (both in main and emulation).
Restored more specific iterator types in both blocking queue impls.
Fix unchecked cast warning in PQ.

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Aug 4 12:16:31 2003 UTC (20 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
Change to raw types in iterator to please compiler

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Aug 4 01:58:13 2003 UTC (20 years, 9 months ago) by dholmes
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17
Fixed wildcards

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Jul 31 15:47:42 2003 UTC (20 years, 9 months ago) by tim
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16
Fix unchecked call

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Thu Jul 31 07:18:02 2003 UTC (20 years, 9 months ago) by dholmes
Branch: MAIN
Changes since 1.15: +35 -3 lines
Diff to previous 1.15
Continued updates to explicit and inherited doc comments.
Consistency over remove(null)
Some inherited doc is still not right.

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Jul 28 16:00:19 2003 UTC (20 years, 9 months ago) by tim
Branch: MAIN
Changes since 1.14: +21 -21 lines
Diff to previous 1.14
Added addAll() back in.

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Jul 28 09:40:14 2003 UTC (20 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.13: +6 -6 lines
Diff to previous 1.13
Commented out BlockingQueue.addAll; changed a few signatures to please 2.2 compiler

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Jul 28 04:11:54 2003 UTC (20 years, 9 months ago) by dholmes
Branch: MAIN
Changes since 1.12: +162 -143 lines
Diff to previous 1.12
Significant doc updates:
 - inherit comments where appropriate
 - ensure runtime exception comments inherited (overriding as needed)
 - consistent descriptions
 - introduce head and tail terminology

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 13:17:51 2003 UTC (20 years, 9 months ago) by tim
Branch: MAIN
Changes since 1.11: +39 -39 lines
Diff to previous 1.11
Default compiler is now 2.2-ea. Some sources are not compatible with 2.0-ea.

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Jul 8 00:46:33 2003 UTC (20 years, 10 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRELIMINARY_TEST_RELEASE_2
Changes since 1.10: +31 -34 lines
Diff to previous 1.10
Locks in subpackage; fairness params added

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Jul 1 16:29:52 2003 UTC (20 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9
Misc minor tunings

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Jun 26 14:11:31 2003 UTC (20 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.8: +31 -21 lines
Diff to previous 1.8
Fixed Iterator.remove

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Jun 24 14:34:47 2003 UTC (20 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.7: +35 -68 lines
Diff to previous 1.7
Added missing javadoc tags; minor reformatting

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Jun 23 02:26:16 2003 UTC (20 years, 11 months ago) by brian
Branch: MAIN
Changes since 1.6: +119 -11 lines
Diff to previous 1.6
Partial javadoc pass

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Jun 22 23:51:37 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.5: +10 -0 lines
Diff to previous 1.5
Added synched toString()

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Jun 22 21:47:17 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.4: +442 -212 lines
Diff to previous 1.4
Split ArrayBlockingQueue and PriorityBlockingQueue to no longer subclass AbstractBlockingQueueFromQueue

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Fri Jun 6 16:53:04 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRELIMINARY_TEST_RELEASE_1
Changes since 1.3: +6 -1 lines
Diff to previous 1.3
Minor doc updates; FairReentrantLock serialize now

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Jun 1 13:22:37 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2
Fixed bad conditional

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue May 27 18:14:39 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRERELEASE_0_1
Changes since 1.1: +278 -58 lines
Diff to previous 1.1
re-check-in initial implementations

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Wed May 14 21:30:45 2003 UTC (21 years ago) by tim
Branch: MAIN
Moved main source rooted at . to ./src/main
Moved test source rooted at ./etc/testcases to ./src/test

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