Incorporate snippets code improvements from Pavel Rappo
fix an [UnnecessaryParentheses] warning
fix an [UnnecessaryParentheses] warning
prefer throwing ExceptionInInitializerError from <clinit> to throwing Error
delete obsolete intrinsics performance comment
Use acquire/release access when applicable
remove stale Unsafe-ism in comment
Compensate for index unit change
Revert to volatile read
whitespace
VarHandles conversion; pass 1
s~\bsun\.(misc\.Unsafe)\b~jdk.internal.$1~g; s~\bputOrdered([A-Za-z]+)\b~put${1}Release~g
handle jdk9 move: sun.misc.Contended -> jdk.internal.vm.annotation.Contended
Terminate javadoc with a period.
standardize code sample idiom: * <pre> {@code
standardize Unsafe mechanics; slightly smaller bytecode
tiny improvements to array scale error handling
use ReflectiveOperationException for Unsafe mechanics
remove unused/redundant imports
standardize import statement order
time to start using diamond <>
Use @Contended
<tt> -> {@code
whitespace
whitespace
s/nonnull/non-null/
whitespace
tiny comment improvement
typos
whitespace
Algorithm overhaul
fix imports
s/lastTime/deadline/g
avoid introducing locals just for warning suppression
javac warning removal
consistent style for code snippets
correct comment to match code
Update Creative Commons license URL in legal notices
Replace outdated internal comment
consistent ternary operator style
80 cols
6404123: @link => @linkplain and other minor doc fixes
minor doc fixes
Typo
Incorporate review suggestions
more cosmetic improvements
doc fixes
Add import for LockSupport
New contention arena algorithm; fix exchange(null)
6378729: Remove workaround for 6280605
whitespace
Performance improvements
whitespace
Use same spin control as SynchronousQueue
doc fixes
Incorporate review suggestions
doc fixes
Clarify class summary
happens-before
stutter
whitespace
Edit pass for happens-before descriptions
More tweaks to HB markup
Happens-before markup
doc fixes
Add serial ids
whitespace changes
Simplify a loop
doc fixes
Replace algorithm with more scalable one that also fixes timeout bug
doc fixes
Headers reference Creative Commons
Adapt to AbstractQueuedSynchronizer
Documentation improvements
Added docs for type params
Redeclare some Conditions as ReentrantLock.ConditionObjects
Removed non-standard tags and misc javadoc cleanup
In response to Eamonn's comment that "best effort lower bound" is not defined for waiting times, all such references have been deleted. The preceding text makes it clear that the time must elapse before the method will return, and trying to say anything about the maximum waiting time is pointless. We can still say something to this effect in the package docs if we want.
Scrunched catch, finally, else clauses.
Fixes to minor errors found by DocCheck
Misc performance tunings
Locks in subpackage; fairness params added
Added missing javadoc tags; minor reformatting
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.