8232230: Suppress warnings on non-serializable non-transient instance fields in java.util.concurrent
update to using jdk11 by default, except link to jdk10 javadocs; sync @docRoot references in javadoc with upstream
use long math (although int overflow is very unlikely)
refactor readObject and invariant checking methods
8189284: More refactoring for deserialization cases
8177789: fix collections framework links to point to java.util package doc
detach exhausted iterators whose last element was asynchronously removed
whitespace
explain unconditional detach after Iterator.forEachRemaining
add javadoc for @inheritDoc
improve circularClear
E x -> E e
code golf
checkInvariants: more rationale
explain relationship with ArrayDeque
Tolerate reentrant read access in removeIf
Optimize Iterator.forEachRemaining, as in ArrayDeque
Optimize removeIf/removeAll/retainAll, at least when no active iterators; code ported from ArrayDeque
improve invariant checking
improve collection constructor
lint
Optimize clear() using nested loop trick, as in ArrayDeque
Optimize remove(Object) using nested loop trick, as in ArrayDeque
Optimize contains() using nested loop trick, as in ArrayDeque
Optimize forEach using nested loop trick, as in ArrayDeque
implement Collection.forEach efficiently
compare longs against 0L, not 0
import order
whitespace
move declaration into nested block
optimize toString() methods; introduce Helpers
elide null assignment in <init>
rewrite toArray methods to use Arrays.copyOfRange strategy
s/checkNotNull/Objects.requireNonNull/g
refactor common bodies of toArray methods
standardize code sample idiom: * <pre> {@code
use consistent modular increment idiom
improve removeAt bytecode
small improvement in bytecode quality
javadoc style
improve un-tracking of iterators after interior removes
remove unused/redundant imports
standardize import statement order
this collection => this XXX
remove redundant initializations to null or 0
javadoc typo fixes from Sergey Malenkov; https://bugs.openjdk.java.net/browse/JDK-8022746
refactor definitions of "weakly consistent" into package-info.java
add javadoc for spliterator()
port to latest lambda
Synch with lambda Spliterator API
lambda syncs and improvements
Spliterator updates
Spliterator sync
optimize peek
optimize toArray
@SuppressWarnings on its own line of code
avoid introducing locals just for warning suppression
comment out asserts (replace-regexp "\\(^ *\\)assert " "\\1// assert " nil)
Improve the class comment for class Itrs
doSomeSweeping should do full sweep unless probes counts down to zero
rework logic of Itr.remove()
use symbolic special index values for readability
minor improvements to removeAt
Robust weak consistency for ArrayBlockingQueue iterators
rename some private methods
sync iterator() javadoc style with other classes
optimize contains, remove, clear
coding style
abandon ArrayBlockingQueue.<E>cast warning suppression trick
optimize drainTo signalling
ABQ.drainTo should handle throws in c.add in the same style as LBQ.drainTo
drainTo(c) should delegate to drainTo(c, maxElements)
consistent style for code snippets
fix javac 7 [static] warnings
Update Creative Commons license URL in legal notices
Recycle the iterator() spec from CLQ
<tt>->@code
Recheck item in iterator.next
delete unused variable
small comment improvements
whitespace
Update iterator index on iterator.remove()
revert to this.<E>cast syntax
<code> => {@code
fix javac warnings; optimize copy constructor, toString
Re-place remaining check inside lock
Revert last change -- lock in next simplifies memory model conformance
Reduce locking in iterator
Add <p>
Add <p>
wording clarification
null out lastItem when invalid
Fix specs and code for iterators wrt interior removals
hand-inline empty() and full() methods, to appease hotspot
cleaner Condition-handling
Use enhanced for loop
Sync with OpenJDK; untabify
Remove incorrect "transient" qualifiers
Location of Collections Guide has changed
hold locks only when necessary
doc fixes
whitespace
doc fixes
E o -> E e
doc fixes
doc fixes
Wording fix for ArrayBlockingQueue Added Internal comments to ThreadPoolExecutor
CopyOnWriteArraySet and ConcurrentHashMap no longer implement Cloneable Improve javadoc wording in other classes
Override javadoc specs when overriding AbstractQueue implementations Clarify atomicity in BlockingQueue
Documentation improvements
Wording cleanups; Improve SynchronousQueue serialization and fairness support
Add Collection framework membership doc
doc improvements; consistent conventions for nested classes
spellcheck
Headers reference Creative Commons
Adapt to AbstractQueuedSynchronizer
cache finals across volatiles; avoid readResolve; doc improvments; timed invokeAll interleaves
fixed typos; avoided some casts
Removed unnecessary cast
Changed doc strings for generic params
Added docs for type params
Redeclare some Conditions as ReentrantLock.ConditionObjects
added drainTo; clarified various exception specs
Spellcheck
Fix some javadoc inconsistencies
Restored references to insertion at tail. Removed duplicate @param and @return comments in overriding methods.
Proofreading pass -- many minor adjustments
Adapt AbstractQueue changes; Conditionalize CancellableTask.reset; new TimeUnit methods
serialVersionUIDs
Scrunched catch, finally, else clauses.
Clarify iterator semantics
Final major updates to Collection related classes.
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.
Change to raw types in iterator to please compiler
Fixed wildcards
Fix unchecked call
Continued updates to explicit and inherited doc comments. Consistency over remove(null) Some inherited doc is still not right.
Added addAll() back in.
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
Default compiler is now 2.2-ea. Some sources are not compatible with 2.0-ea.
Locks in subpackage; fairness params added
Misc minor tunings
Fixed Iterator.remove
Added missing javadoc tags; minor reformatting
Partial javadoc pass
Added synched toString()
Split ArrayBlockingQueue and PriorityBlockingQueue to no longer subclass AbstractBlockingQueueFromQueue
Minor doc updates; FairReentrantLock serialize now
Fixed bad conditional
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.