check that try-acquire methods can are not called again if they fail once
testInterruptedFailingAcquire: add hasContended assertions
testInterruptedFailingAcquire: test interruptible acquire methods
testInterruptedFailingAcquire: add quiescence assertions
fix very rare race in testInterruptedFailingAcquire
fix imports
testInterruptedFailingAcquire: pleaseThrow should be volatile
use randomBoolean()
rename nanosTimeout to timeoutNanos
migrate from AssertionFailedError to AssertionError
JDK-8191937: Lost interrupt in AbstractQueuedSynchronizer when tryAcquire methods throw
improve code sample and corresponding test class
suppress [WaitNotInLoop] errorprone warning
improve testTryAcquireSharedNanos
improve testAcquireSharedInterruptibly
improve testAwaitUninterruptibly
minor test hygiene improvements
only test Date/currentTimeMillis with Date/currentTimeMillis, not with nanoTime
add more assertions
improve main methods; respect system properties; actually fail if a test fails
fix non-sensical 1 << 62 to intended 1L << 62
unused variable cleanup
add default clause to switch-on-enums
remove stray semicolon
no wildcard imports
add testAwait_Zero testAwait_NegativeInfinity
fix rare timeout failure with testTryAcquireSharedNanos_Timeout
use blessed modifier order
improve "uninterruptible" tests
various test improvements
Add/use delay() instead of Thread.sleep to ensure sleeps are long enough
Update Creative Commons license URL in legal notices
whitespace
typos
typos
whitespace
testcase hygiene: introduce CheckedRecursiveAction and CheckedRecursiveTask; eliminate almost all threadAssertXXX; use preferred junit conventions;narrow the scope of exception checking code; make sure test failures in non-junit threads produce proper stacktraces
whitespace
Use MILLISECONDS.toNanos instead of multiplying by 1000*1000; use explicit assertEquals instead of assertTrue(...!= null); improve testPutWithTake
replace absolute waits with _DELAY_MS; 1000 => 1000L; short delay after starting a thread before interrupting it
remove dead test code
import static TimeUnit.MILLISECONDS
untabify
use CheckedRunnable
nicer exception handling
coding style
whitespace
whitespace
whitespace
Add sleeps after interrupts to force ordering
Make acquireInterruptibly consistent with AQS
Fix some asserts and awaitUninterruptibly tests
Add tests for new AQLS class
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.