ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/LinkedBlockingQueue.java
Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Thu Apr 14 23:05:50 2011 UTC (13 years, 1 month ago) by jsr166
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
whitespace

Revision 1.58 - (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.57: +1 -1 lines
Diff to previous 1.57
Update Creative Commons license URL in legal notices

Revision 1.57 - (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.56: +7 -5 lines
Diff to previous 1.56
make iterator weakly consistent specs more consistent

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

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Thu Sep 30 00:50:19 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.54: +14 -1 lines
Diff to previous 1.54
optimize toString methods

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Tue Sep 28 11:05:19 2010 UTC (13 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.53: +10 -8 lines
Diff to previous 1.53
Move more allocations outside of locks to reduce footprint

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Mon Aug 31 21:48:14 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.52: +12 -10 lines
Diff to previous 1.52
6871697: LinkedBlockingQueue Iterator/remove/poll race

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Wed Jul 29 20:53:30 2009 UTC (14 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +2 -1 lines
Diff to previous 1.51
6866554: Misc. javadoc warnings

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Wed Jul 29 18:13:44 2009 UTC (14 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.50: +216 -185 lines
Diff to previous 1.50
6805775: LinkedBlockingQueue Nodes should unlink themselves before becoming garbage
6815766: LinkedBlockingQueue's iterator can return null if drainTo(c) executes concurrently

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Thu Feb 12 01:00:43 2009 UTC (15 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.49: +3 -1 lines
Diff to previous 1.49
Unlink head node to help GC

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

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

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Thu Aug 11 08:31:38 2005 UTC (18 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +2 -0 lines
Diff to previous 1.46
6307455: LinkedBlockingQueue.toArray(x) does not set "one-past" element of x to null

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Wed May 25 14:05:27 2005 UTC (19 years ago) by dl
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
Avoid generics warnings; clarify javadocs

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

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue May 17 17:13:01 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.43: +17 -7 lines
Diff to previous 1.43
doc fixes

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Tue May 17 06:50:55 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.42: +77 -20 lines
Diff to previous 1.42
doc fixes

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

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

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

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue Jan 11 00:43:21 2005 UTC (19 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.38: +4 -0 lines
Diff to previous 1.38
Fix remove(Object x), iterator.remove()

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu Nov 4 19:48:19 2004 UTC (19 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.37: +11 -13 lines
Diff to previous 1.37
Simplify previous changes

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sun Oct 31 14:54:19 2004 UTC (19 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.36: +7 -0 lines
Diff to previous 1.36
Fix clear and drainTo so that subsequent additions are accessible

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Jun 2 23:49:07 2004 UTC (20 years ago) by dl
Branch: MAIN
Changes since 1.35: +4 -3 lines
Diff to previous 1.35
CopyOnWriteArraySet and ConcurrentHashMap no longer implement Cloneable
Improve javadoc wording in other classes

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Thu May 27 11:06:11 2004 UTC (20 years ago) by dl
Branch: MAIN
Changes since 1.34: +8 -0 lines
Diff to previous 1.34
Override javadoc specs when overriding AbstractQueue implementations
Clarify atomicity in BlockingQueue

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

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

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

Revision 1.31 - (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.30: +36 -12 lines
Diff to previous 1.30
cache finals across volatiles; avoid readResolve; doc improvments; timed invokeAll interleaves

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Thu Nov 13 11:15:06 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.29: +1 -1 lines
Diff to previous 1.29
poll tryLock() changed to lock()

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

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Nov 10 17:31:23 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
Wording and typo cleanup pass

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

Revision 1.26 - (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.25: +1 -0 lines
Diff to previous 1.25
Added docs for type params

Revision 1.25 - (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.24: +2 -2 lines
Diff to previous 1.24
Redeclare some Conditions as ReentrantLock.ConditionObjects

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

Revision 1.23 - (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.22: +19 -6 lines
Diff to previous 1.22
Fix some javadoc inconsistencies

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Mon Sep 15 06:24:21 2003 UTC (20 years, 8 months ago) by dholmes
Branch: MAIN
Changes since 1.21: +11 -4 lines
Diff to previous 1.21
Restored overriding commenst referring to insertion at tail

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

Revision 1.20 - (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.19: +10 -51 lines
Diff to previous 1.19
Adapt AbstractQueue changes; Conditionalize CancellableTask.reset; new TimeUnit methods

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Sep 7 15:06:24 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.18: +4 -6 lines
Diff to previous 1.18
Serialization fixes

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

Revision 1.17 - (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.16: +21 -42 lines
Diff to previous 1.16
Scrunched catch, finally, else clauses.

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Aug 6 18:22:09 2003 UTC (20 years, 10 months ago) by tim
Branch: MAIN
CVS Tags: JSR166_CR1
Changes since 1.15: +3 -2 lines
Diff to previous 1.15
Fixes to minor errors found by DocCheck

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

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

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Tue Aug 5 06:50:40 2003 UTC (20 years, 10 months ago) by dholmes
Branch: MAIN
Changes since 1.12: +8 -8 lines
Diff to previous 1.12
More tense changes

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Aug 4 16:14:48 2003 UTC (20 years, 10 months ago) by tim
Branch: MAIN
Changes since 1.11: +47 -47 lines
Diff to previous 1.11
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.11 - (view) (download) (annotate) - [select for diffs]
Mon Aug 4 12:16:31 2003 UTC (20 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
Change to raw types in iterator to please compiler

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Aug 4 02:00:37 2003 UTC (20 years, 10 months ago) by dholmes
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9
Added wildcards

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

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

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

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Jun 24 14:34:48 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.5: +37 -13 lines
Diff to previous 1.5
Added missing javadoc tags; minor reformatting

Revision 1.5 - (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.4: +4 -4 lines
Diff to previous 1.4
Added synched toString()

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Jun 7 18:20:20 2003 UTC (21 years ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRELIMINARY_TEST_RELEASE_1
Changes since 1.3: +15 -25 lines
Diff to previous 1.3
Misc documentation updates

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Jun 6 16:53:05 2003 UTC (21 years ago) by dl
Branch: MAIN
Changes since 1.2: +9 -1 lines
Diff to previous 1.2
Minor doc updates; FairReentrantLock serialize now

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue May 27 18:14:40 2003 UTC (21 years ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRERELEASE_0_1
Changes since 1.1: +509 -34 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:47 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) Links to release-1_7_0: (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