ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/PriorityBlockingQueue.java
Revision 1.71 - (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.70: +1 -1 lines
Diff to previous 1.70
Update Creative Commons license URL in legal notices

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

Revision 1.69 - (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.68: +3 -2 lines
Diff to previous 1.68
make iterator weakly consistent specs more consistent

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Tue Nov 9 00:32:44 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.67: +1 -3 lines
Diff to previous 1.67
simplify size()

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Sun Oct 17 00:14:09 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.66: +7 -7 lines
Diff to previous 1.66
whitespace

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Wed Oct 13 14:01:25 2010 UTC (13 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.65: +197 -167 lines
Diff to previous 1.65
Ensure consistent state on exceptions; incorporate review suggestions

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

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 18:10:18 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.63: +6 -4 lines
Diff to previous 1.63
sync javadoc of enqueue methods

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 18:04:56 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.62: +27 -27 lines
Diff to previous 1.62
<tt> => {@code

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 17:55:13 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61
minor javadoc changes

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 17:38:24 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.60: +5 -5 lines
Diff to previous 1.60
whitespace

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 10:24:02 2010 UTC (13 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.59: +2 -1 lines
Diff to previous 1.59
Avoid zero capacity argument in serialize

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun Oct 10 21:43:15 2010 UTC (13 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.58: +422 -52 lines
Diff to previous 1.58
Enable takes while allocating, faster sync at expense of embedding heap implementation

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Mon Sep 27 19:15:15 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57
use blessed declaration modifier order

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Mon Sep 27 16:35:07 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
small clarity improvement

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Sep 20 20:23:52 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.55: +7 -7 lines
Diff to previous 1.55
Fix javadoc code samples to use <pre>  {@code so that we can replace &lt; with <, etc.

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

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

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

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Tue Mar 7 07:20:28 2006 UTC (18 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +24 -26 lines
Diff to previous 1.51
6394004: (coll) Thread-safety and Performance improvements to PriorityQueue

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri Nov 25 13:29:03 2005 UTC (18 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.50: +8 -2 lines
Diff to previous 1.50
Incorporate review suggestions

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Nov 23 05:33:03 2005 UTC (18 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49
whitespace

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Tue Nov 22 11:45:30 2005 UTC (18 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.48: +28 -30 lines
Diff to previous 1.48
Use snapshot iterators

Revision 1.48 - (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.47: +2 -2 lines
Diff to previous 1.47
doc fixes

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Mon Jul 18 00:29:28 2005 UTC (18 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46
doc fixes

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sun Jun 19 23:13:42 2005 UTC (18 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
doc fixes

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sun Jun 19 23:01:48 2005 UTC (18 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.44: +0 -1 lines
Diff to previous 1.44
Remove redundant null check

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

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

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Tue May 17 17:56:25 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.41: +140 -67 lines
Diff to previous 1.41
doc fixes

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sun May 8 21:49:27 2005 UTC (19 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.40: +35 -5 lines
Diff to previous 1.40
Add example

Revision 1.40 - (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.39: +13 -13 lines
Diff to previous 1.39
E o -> E e

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

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

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

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Sat Apr 10 14:24:36 2004 UTC (20 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
Don't use raw type for Comparable

Revision 1.35 - (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.34: +4 -0 lines
Diff to previous 1.34
Add Collection framework membership doc

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Tue Jan 20 04:35:02 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.33: +1 -0 lines
Diff to previous 1.33
javadoc lint; Thread.interrupt shouldn't throw exception if thread dead

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: +1 -1 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: +17 -0 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]
Wed Nov 12 01:04:24 2003 UTC (20 years, 7 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
fixed typos; avoided some casts

Revision 1.29 - (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.28: +1 -1 lines
Diff to previous 1.28
Changed doc strings for generic params

Revision 1.28 - (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.27: +2 -1 lines
Diff to previous 1.27
Added docs for type params

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

Revision 1.26 - (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.25: +40 -0 lines
Diff to previous 1.25
added drainTo; clarified various exception specs

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sat Sep 20 00:31:08 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24
Don;t promise it uses PQ

Revision 1.24 - (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.23: +9 -29 lines
Diff to previous 1.23
Fix some javadoc inconsistencies

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

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

Revision 1.21 - (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.20: +1 -0 lines
Diff to previous 1.20
serialVersionUIDs

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun Aug 24 23:32:25 2003 UTC (20 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.19: +6 -0 lines
Diff to previous 1.19
Kill ScheduledExecutor Date methods; Documentation clarifications

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

Revision 1.18 - (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.17: +3 -3 lines
Diff to previous 1.17
Fixes to minor errors found by DocCheck

Revision 1.17 - (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.16: +18 -0 lines
Diff to previous 1.16
Clarify iterator semantics

Revision 1.16 - (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.15: +94 -19 lines
Diff to previous 1.15
Final major updates to Collection related classes.

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Aug 5 12:11:14 2003 UTC (20 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.14: +15 -13 lines
Diff to previous 1.14
Remove Sorted interface, adjust PQ and PBQ

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Aug 5 06:32:02 2003 UTC (20 years, 10 months ago) by dholmes
Branch: MAIN
Changes since 1.13: +26 -23 lines
Diff to previous 1.13
Regressed to the unbounded form

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

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Jul 28 10:08:31 2003 UTC (20 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11
PBQ shouldn't implement Sorted

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

Revision 1.10 - (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.9: +39 -19 lines
Diff to previous 1.9
Significant doc updates:
 - inherit comments where appropriate
 - ensure runtime exception comments inherited (overriding as needed)
 - consistent descriptions
 - introduce head and tail terminology

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sun Jul 13 22:51:51 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRELIMINARY_TEST_RELEASE_2
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
Improve cancellation support; PBQs now use fair locks

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

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

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: +4 -2 lines
Diff to previous 1.5
Added missing javadoc tags; minor reformatting

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: +234 -9 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:05 2003 UTC (21 years ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRELIMINARY_TEST_RELEASE_1
Changes since 1.3: +4 -5 lines
Diff to previous 1.3
Minor doc updates; FairReentrantLock serialize now

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Thu May 29 13:49:24 2003 UTC (21 years ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRERELEASE_0_1
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
Please the new generics compiler

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue May 27 18:14:40 2003 UTC (21 years ago) by dl
Branch: MAIN
Changes since 1.1: +58 -54 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, 1 month 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