jdk17+ suppressWarnings, FJ updates
Typo
Incorporate snippets code improvements from Pavel Rappo
8231800: Better listing of arrays
restore historic comment and parens
8230744: Several classes throw OutOfMemoryError without message
8232230: Suppress warnings on non-serializable non-transient instance fields in java.util.concurrent
Add portability layer for new location of SharedSecrets in JDK-8211122
update to using jdk11 by default, except link to jdk10 javadocs; sync @docRoot references in javadoc with upstream
implement optimized bulk remove methods
coding style
Implement Itr.forEachRemaining
tidying
small improvements
coding style
use common jsr166 idioms
optimized implementation of forEach
sync upstream changes
prefer throwing ExceptionInInitializerError from <clinit> to throwing Error
replace for loop with foreach loop
8177789: fix collections framework links to point to java.util package doc
micro-optimize heapify
whitespace
rewrite spliterators to address 8172023: Concurrent spliterators fail to handle exhaustion properly
convert to Objects.requireNonNull
coding style
remove confusing comments
typo
use idiom: lastRet = cursor++
convert Spliterator implementations to inner classes
add reference to Floyd 1964
8132964: Spliterator documentation on Priority(Blocking)Queue
Replace stale reference to ArraySnapshotSpliterator
VarHandles conversion; pass 1
s~\bsun\.(misc\.Unsafe)\b~jdk.internal.$1~g; s~\bputOrdered([A-Za-z]+)\b~put${1}Release~g
use concrete return types for trySplit methods to help VM
Terminate javadoc with a period.
optimize toString() methods; introduce Helpers
toArray methods should be colocated in source file
standardize code sample idiom: * <pre> {@code
standardize Unsafe mechanics; slightly smaller bytecode
use ReflectiveOperationException for Unsafe mechanics
remove unused/redundant imports
standardize import statement order
this collection => this XXX
refactor definitions of "weakly consistent" into package-info.java
add javadoc for spliterator()
Undo last change; breaks source compatibility
Mesh with PriorityQueue update
whitespace
javadoc warning fixes: add serialization method @throws
javadoc warning fixes: add serialization method @param
port to latest lambda
conform to updated lambda Spliterator
Synch with lambda Spliterator API
Spliterator updates
Spliterator sync
Use new java.util.function names
remove bad @param
Spliterators
fix javac [rawtypes] warnings
whitespace
lambda-lib support
Guard siftDown to avoid unnecessary item retention
fix imports
uniform serialization method javadocs
blanket unchecked warning suppression for comparator-using classes
remove useless trailing semicolons
make removeEQ package-private to inhibit bridge method
rename extract() to dequeue()
coding style
typo
make drainTo methods more robust when c.add throws
coding style
small improvements
consistent style for code snippets
fix javac 7 [rawtypes] warnings
Update Creative Commons license URL in legal notices
Reduce dependencies in static initialization
make iterator weakly consistent specs more consistent
simplify size()
whitespace
Ensure consistent state on exceptions; incorporate review suggestions
sync offer method @return javadoc
sync javadoc of enqueue methods
<tt> => {@code
minor javadoc changes
whitespace
Avoid zero capacity argument in serialize
Enable takes while allocating, faster sync at expense of embedding heap implementation
use blessed declaration modifier order
small clarity improvement
Fix javadoc code samples to use <pre> {@code so that we can replace < with <, etc.
cleaner Condition-handling
Sync with OpenJDK; untabify
Location of Collections Guide has changed
6394004: (coll) Thread-safety and Performance improvements to PriorityQueue
Incorporate review suggestions
whitespace
Use snapshot iterators
doc fixes
doc fixes
doc fixes
Remove redundant null check
Avoid generics warnings; clarify javadocs
whitespace
doc fixes
Add example
E o -> E e
doc fixes
CopyOnWriteArraySet and ConcurrentHashMap no longer implement Cloneable Improve javadoc wording in other classes
Override javadoc specs when overriding AbstractQueue implementations Clarify atomicity in BlockingQueue
Don't use raw type for Comparable
Add Collection framework membership doc
javadoc lint; Thread.interrupt shouldn't throw exception if thread dead
Headers reference Creative Commons
Adapt to AbstractQueuedSynchronizer
cache finals across volatiles; avoid readResolve; doc improvments; timed invokeAll interleaves
fixed typos; avoided some casts
Changed doc strings for generic params
Added docs for type params
Redeclare some Conditions as ReentrantLock.ConditionObjects
added drainTo; clarified various exception specs
Don;t promise it uses PQ
Fix some javadoc inconsistencies
Proofreading pass -- many minor adjustments
Adapt AbstractQueue changes; Conditionalize CancellableTask.reset; new TimeUnit methods
serialVersionUIDs
Kill ScheduledExecutor Date methods; Documentation clarifications
Scrunched catch, finally, else clauses.
Fixes to minor errors found by DocCheck
Clarify iterator semantics
Final major updates to Collection related classes.
Remove Sorted interface, adjust PQ and PBQ
Regressed to the unbounded form
Added addAll() back in.
PBQ shouldn't implement Sorted
Commented out BlockingQueue.addAll; changed a few signatures to please 2.2 compiler
Significant doc updates: - inherit comments where appropriate - ensure runtime exception comments inherited (overriding as needed) - consistent descriptions - introduce head and tail terminology
Improve cancellation support; PBQs now use fair locks
Locks in subpackage; fairness params added
Misc minor tunings
Added missing javadoc tags; minor reformatting
Split ArrayBlockingQueue and PriorityBlockingQueue to no longer subclass AbstractBlockingQueueFromQueue
Minor doc updates; FairReentrantLock serialize now
Please the new generics compiler
re-check-in initial implementations
Moved main source rooted at . to ./src/main Moved test source rooted at ./etc/testcases to ./src/test
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.