Improve happens-before specs
Incorporate snippets code improvements from Pavel Rappo
s/parallelismLevel/parallelism level/ as suggested by Pavel Rappo
prefer throwing ExceptionInInitializerError from <clinit> to throwing Error
Redo @link and @linkplain; one @link was pointing to the wrong poll method
Make sample code match its description.
code sample modernization
incorporate upstream VarHandle changes
whitespace
Use new CAS variants when applicable
VarHandles conversion; pass 1
delete no-longer-used method queueFor(int phase)
s~\bsun\.(misc\.Unsafe)\b~jdk.internal.$1~g; s~\bputOrdered([A-Za-z]+)\b~put${1}Release~g
use standard nanos-checking idiom in isReleasable
Terminate javadoc with a period.
consistent style for <li> tags, removing </li> end tags
doc clarification
JDK-8074773: Reduce the risk of rare disastrous classloading in first call to LockSupport.park
standardize code sample idiom: * <pre> {@code
standardize Unsafe mechanics; slightly smaller bytecode
use ReflectiveOperationException for Unsafe mechanics
standardize import statement order
Improve Phaser.QNode.block()
Improve Phaser.QNode.block()
normalize whitespace after <p>
s/lastTime/deadline/g
trip unarrived to parties unconditionally
barely noticeable improvements to subphaser initial registration
coding style
releaseWaiters should only be called in doArrive when this == root
add clarifying comment
save a branch in doArrive
optimize for unarrived > 1
preserve phase and unarrived when terminating
Allow multiple subphasers to register while others deregister
fix javac 7 [rawtypes] warnings
Add "final" to code example
Update Creative Commons license URL in legal notices
Reduce dependencies in static initialization
coding style
s/par/parent/
remove unused PHASE_MASK
minor comment tidying
coding style
Weaken assumptions in reconcileState; improve specs
reconcileState rework
typos and style touchups
Ensure consistent phase returns for tiered phasers; other minor improvements
make @return spec of await methods more precise
make @return spec of await methods more precise
coding style
s/MAX_PARTIES/UNARRIVED_MASK/
very small clarification
improve auto-registration description in javadoc
typo
coding style
optimize partiesOf
ternary operator coding style
Fix case of re-registering root; forceTermination spec
consistent ternary operator style
improve javadocs; strengthen getPhase spec; streamline waiting
Improve responsiveness to interrupts
whitespace
Lazier reconcilation; doc improvements
Remove constraints on tiered deregistration
Improve javadoc for constructing child Phasers
Reduce need for and improve reconcileState
coding style
simplify awaitAdvance methods
doArrive coding style
overflow-conscious code saves a test in doRegister
improve doRegister
bit-twiddling simplifications
Incorporate review suggestions
improve forceTermination
tidying
Improve error messages; simplify loops
tidying
s/nonnull/non-null/
fix conditional
Overhaul to remove onAdvance disclaimer
better test for parties over/underflow
Performance (and other) improvements
Suppress register on advance; share root queues; misc touchups
Don't overwrite record of interrupt
javadoc and style improvements
Sync with jsr166y changes
sync with jsr166y package
sync with jsr166 package
sync with jsr166 package
sync with jsr166 package
sync with jsr166 package
sync with jsr166 package
sync with jsr166y package
sync with jsr166y package
sync with jsr166y package
branch jsr166y into java.util.concurrent
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.