Faster queue check
Incorporate snippets code improvements from Pavel Rappo
8220248: fix headings in java.util.concurrent
Redo @link and @linkplain; one @link was pointing to the wrong poll method
make some methods static as suggested by errorprone [MethodCanBeStatic]
remove no-longer-useful style spec for javadoc <dd> tags
Omit unneeded volatile qualifier from usage example code
VarHandles conversion, pass 1
s~\bsun\.(misc\.Unsafe)\b~jdk.internal.$1~g; s~\bputOrdered([A-Za-z]+)\b~put${1}Release~g
prefer List to primitive array
fix code sample; JDK-8139574
Terminate javadoc with a period.
whitespace
merge upstream changes
Workaround JDK-8072052:<dd> part of <dl> list in javadoc should not be in monospace font
consistent style for <li> tags, removing </li> end tags
optimize out redundant field initializers
standardize code sample idiom: * <pre> {@code
consistent wording for "synchronization control" warning
standardize Unsafe mechanics; slightly smaller bytecode
use ReflectiveOperationException for Unsafe mechanics
standardize import statement order
javadoc style
Add @throws
Clarify ReadLock unlock javadoc
time to start using diamond <>
remove redundant initializations to null or 0
Fix all occurrences of javac8 warning: empty <p> tag
javadoc style
whitespace
Use Thread.tid field instead of overridable Thread.getId
whitespace
javadoc style
@return javadoc style
normalize whitespace after <p>
delete trailing empty lines of javadoc
fix imports
uniform serialization method javadocs
whitespace
use standard readObject first sentence javadoc
Revert dubious commit 1.98: Clear cache upon removing hold
Clear cache upon removing hold
consistent style for code snippets
clean up imports
small javadoc clarification
add a comma for clarity
Update Creative Commons license URL in legal notices
80 cols
whitespace
whitespace
use blessed declaration modifier order
6822903: Reliability and documentation improvements for ReentrantReadWriteLock
6625723: Excessive ThreadLocal storage used by ReentrantReadWriteLock
Sync with OpenJDK; untabify
6476650: Improve ReentrantReadWriteLock code sample 6574123: Help implementers of fair synchronizers
typos
javadoc coding standards
typo
6404123: @link => @linkplain and other minor doc fixes
6378321: More methods for ReentrantReadWriteLock.WriteLock
6378729: Remove workaround for 6280605
Add writeLock.sHeldByCurrentThread() and getHoldCount()
sync with mustang
doc fixes
Clarify fairness policies and getOwner spec
whitespace
workaround for 6280605
Incorporate suggestions in review comments
Address review comments
Editing pass
Straighten out conditionals; add tests
Javadoc improvements
Improve spec and implementation of ReentrantReadWriteLock
Add serial ids
whitespace changes
propagate isHeldExclusively comment
Further small expression simplifications
Minor code simplifications
doc fixes
Add support for monitoring blocked synchronizers
Touch-ups after change review.
Fix fairness vs reentrance check in read lock acquire
Disambiguate wordings.
Finished incomplete change
Wording fixes and improvements.
Nitpicky doc fixes
Wording fixes and improvements
Wording improvements and fixes
Conform to serialization guidelines for inner classes
Add hasQueuedThread
doc improvements; consistent conventions for nested classes
Simplify/shorten AQS method names
Document toString
Added toString
Cosmetics
isFirst->getFirstQueuedThread
Improve instrumentation method implementations
replace isFirst param with isFirst method
Better param names; simpler fairness handling
Code walkthrough misc
Avoid timeout problems in fair modes; improve AQS method names
AQS API improvements
Avoid cache thrashing
Remove unnecessary method
Tweak state update methods
Simplify AQS hook methods
Coding consistency check
Add @throws NullPointerExceptions
Fix typos
AQS.ConditionObject back to inner class
AQS Condition must be static inner class; adjust accordingly
Headers reference Creative Commons
Fix doc errors
Adapt to AbstractQueuedSynchronizer changes
Fix documentation
Replace AbstractReentrantLock with AbstractQueuedSynchronizer
RWL ReadLock and Writelock carry own javadoc
doLock doesn't need thread arg; other minor improvments
Documentation improvements
RRWL writer condition await checks to make sure no read locks held
Refactor shared locking code into AbstractReentrantLock
fixed typos; avoided some casts
Ensure deserialization to unlocked state
Re-implementation supporting instrumentation etc
Serialization fixes
Serialization fixes
Removed non-standard tags and misc javadoc cleanup
As per Eamonn's comments: - clarified acquisition order for fair and non-fair cases
serialVersionUIDs
Improve handling of timing; minor refactorings
Scrunched catch, finally, else clauses.
More DocCheck fixes.
Fixes to minor errors found by DocCheck, includes stray Locks reference removal
Moved the ownership information into an "Implementation Considerations" section.
Improved cancellation support
Added LockSupport; moved nanoTime
Simpler RRWL.trylock
Misc performance tunings
Locks in subpackage; fairness params added
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.