[cvs] / jsr166 / src / test / tck / ReentrantLockTest.java Repository:
ViewVC logotype

Log of /jsr166/src/test/tck/ReentrantLockTest.java

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Fri Sep 29 22:31:55 2017 UTC (2 months, 2 weeks ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.66: +63 -0 lines
Diff to previous 1.66
add testBug8187408

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Jul 17 21:01:30 2017 UTC (4 months, 4 weeks ago) by jsr166
Branch: MAIN
Changes since 1.65: +1 -0 lines
Diff to previous 1.65
suppress [WaitNotInLoop] errorprone warning

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sun May 14 02:03:15 2017 UTC (7 months ago) by jsr166
Branch: MAIN
Changes since 1.64: +7 -8 lines
Diff to previous 1.64
claw back some millis using assertThreadBlocks

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Sun Jan 1 20:34:39 2017 UTC (11 months, 1 week ago) by jsr166
Branch: MAIN
Changes since 1.63: +30 -30 lines
Diff to previous 1.63
minor test hygiene improvements

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Fri Jul 3 05:48:30 2015 UTC (2 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.62: +5 -3 lines
Diff to previous 1.62
only test Date/currentTimeMillis with Date/currentTimeMillis, not with nanoTime

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Fri Jul 3 01:25:15 2015 UTC (2 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.61: +2 -4 lines
Diff to previous 1.61
use delayedDate(); use timeoutMillis()

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Fri Jul 3 00:25:35 2015 UTC (2 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.60: +1 -1 lines
Diff to previous 1.60
minor improvements

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Fri Jul 3 00:23:43 2015 UTC (2 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.59: +4 -3 lines
Diff to previous 1.59
minor improvements

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun May 24 01:42:14 2015 UTC (2 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
whitespace

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sat Apr 25 04:55:31 2015 UTC (2 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57
improve main methods; respect system properties; actually fail if a test fails

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Fri Feb 27 21:43:18 2015 UTC (2 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.56: +5 -15 lines
Diff to previous 1.56
StampedLockTest.java

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Feb 2 04:50:55 2015 UTC (2 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55
tidy

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 20:34:16 2014 UTC (2 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.54: +2 -0 lines
Diff to previous 1.54
add default clause to switch-on-enums

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 19:05:43 2014 UTC (2 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.53: +11 -5 lines
Diff to previous 1.53
no wildcard imports

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 05:04:04 2014 UTC (2 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52
delete stray semicolons

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Thu May 30 03:28:55 2013 UTC (4 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51
prefer assertNotSame, assertNotNull to assertTrue

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri Jun 3 05:07:14 2011 UTC (6 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.50: +40 -23 lines
Diff to previous 1.50
improve "uninterruptible" tests

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Tue May 31 16:16:24 2011 UTC (6 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +4 -3 lines
Diff to previous 1.49
use serialClone in serialization tests; update imports

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Tue May 24 23:40:14 2011 UTC (6 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +7 -7 lines
Diff to previous 1.48
pretty up testToString

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sat May 21 06:24:33 2011 UTC (6 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.47: +18 -23 lines
Diff to previous 1.47
various test improvements

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sun May 15 17:30:21 2011 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
s/AssertionError/AssertionFailedError/

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Fri May 13 21:48:59 2011 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +365 -290 lines
Diff to previous 1.45
More cross-pollination of RL and RRWL tests; don't rely on thread.join not returning early

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat May 7 19:03:26 2011 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.44: +292 -193 lines
Diff to previous 1.44
Improve ReentrantLock and ReentrantReadWriteLock tests

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sat May 7 03:40:45 2011 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.43: +36 -6 lines
Diff to previous 1.43
improve testAwait_*

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sat May 7 03:36:23 2011 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.42: +40 -3 lines
Diff to previous 1.42
improve testAwait_Interrupt

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat May 7 03:12:48 2011 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +29 -42 lines
Diff to previous 1.41
use awaitTermination

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sat May 7 02:51:33 2011 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +19 -35 lines
Diff to previous 1.40
use newStartedThread

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Fri May 6 11:22:07 2011 UTC (6 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.39: +42 -42 lines
Diff to previous 1.39
Add/use delay() instead of Thread.sleep to ensure sleeps are long enough

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue Mar 15 19:47:07 2011 UTC (6 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
Update Creative Commons license URL in legal notices

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sat Oct 9 19:30:35 2010 UTC (7 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
whitespace

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu Sep 16 00:52:49 2010 UTC (7 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.36: +14 -14 lines
Diff to previous 1.36
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

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Aug 25 00:07:03 2010 UTC (7 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
whitespace

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 23:16:23 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
whitespace

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 09:48:12 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.33: +0 -2 lines
Diff to previous 1.33
whitespace

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 06:03:49 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
Use MILLISECONDS.toNanos instead of multiplying by 1000*1000; use explicit assertEquals instead of assertTrue(...!= null); improve testPutWithTake

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Nov 30 08:31:09 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.31: +3 -1 lines
Diff to previous 1.31
replace absolute waits with _DELAY_MS; 1000 => 1000L; short delay after starting a thread before interrupting it

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 02:33:20 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.30: +4 -3 lines
Diff to previous 1.30
import static TimeUnit.MILLISECONDS

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 02:07:27 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.29: +87 -87 lines
Diff to previous 1.29
untabify

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Nov 17 13:31:53 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.28: +427 -678 lines
Diff to previous 1.28
cleanup exception handling

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Nov 16 05:30:08 2009 UTC (8 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.27: +16 -16 lines
Diff to previous 1.27
whitespace

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Nov 16 04:57:10 2009 UTC (8 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.26: +33 -33 lines
Diff to previous 1.26
whitespace

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Mon Nov 2 20:28:31 2009 UTC (8 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.25: +70 -70 lines
Diff to previous 1.25
whitespace

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Thu May 18 10:29:23 2006 UTC (11 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.24: +1 -0 lines
Diff to previous 1.24
Add sleeps after interrupts to force ordering

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Feb 24 00:03:16 2006 UTC (11 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.23: +1 -0 lines
Diff to previous 1.23
Make Interruptible locking tests obey delay conventions

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Aug 14 15:25:22 2005 UTC (12 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.22: +55 -0 lines
Diff to previous 1.22
Add reentrancy test for await

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Tue May 3 16:02:00 2005 UTC (12 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.21: +46 -19 lines
Diff to previous 1.21
Fix some asserts and awaitUninterruptibly tests

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon May 2 19:20:00 2005 UTC (12 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
Fix sawit test

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun Dec 5 21:56:41 2004 UTC (13 years ago) by dl
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
Weaken overly strong assert for timeout tests

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Jan 25 13:25:28 2004 UTC (13 years, 10 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PFD
Changes since 1.18: +47 -0 lines
Diff to previous 1.18
test hasQueuedThread

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Jan 10 01:41:59 2004 UTC (13 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.17: +12 -0 lines
Diff to previous 1.17
Test toString

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Jan 7 20:49:53 2004 UTC (13 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
Add tests

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Jan 7 01:02:17 2004 UTC (13 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.15: +29 -0 lines
Diff to previous 1.15
Added and fised testcases

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Dec 29 19:05:40 2003 UTC (13 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14
spellcheck

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 22:44:59 2003 UTC (13 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.13: +44 -0 lines
Diff to previous 1.13
test for throws of NullPointerExceptions

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 21:56:18 2003 UTC (13 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.12: +212 -17 lines
Diff to previous 1.12
Add tests for AQS extensions; adjust others for protected condition methods

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 19:26:43 2003 UTC (13 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.11: +5 -4 lines
Diff to previous 1.11
Headers reference Creative Commons

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 18:27:02 2003 UTC (13 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.10: +3 -76 lines
Diff to previous 1.10
Adjust protected method tests

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 14:16:33 2003 UTC (13 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
Adjust protected method test class

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Nov 3 13:50:07 2003 UTC (14 years, 1 month ago) by dl
Branch: MAIN
CVS Tags: JSR166_DEC9_POST_ES_SUBMIT, JSR166_DEC9_PRE_ES_SUBMIT, JSR166_NOV3_FREEZE
Changes since 1.8: +10 -0 lines
Diff to previous 1.8
Merged FairSemaphore into Semaphore

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Fri Sep 26 15:33:13 2003 UTC (14 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.7: +8 -8 lines
Diff to previous 1.7
Javadoc fixes

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 11:02:41 2003 UTC (14 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.6: +7 -7 lines
Diff to previous 1.6
improve tck javadocs; rename and add a few tests

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sat Sep 20 18:20:08 2003 UTC (14 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.5: +168 -86 lines
Diff to previous 1.5
Documentation scaffolding

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Sep 20 00:31:57 2003 UTC (14 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.4: +286 -35 lines
Diff to previous 1.4
Added tests

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Sep 14 20:42:40 2003 UTC (14 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.3: +33 -27 lines
Diff to previous 1.3
New base class JSR166TestCase

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Sep 7 20:39:11 2003 UTC (14 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.2: +80 -18 lines
Diff to previous 1.2
Added serialization and lock tests

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Sep 6 19:36:05 2003 UTC (14 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.1: +256 -1 lines
Diff to previous 1.1
Added tests

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 31 19:24:55 2003 UTC (14 years, 3 months ago) by dl
Branch: MAIN
First check-in of tests to be in tck

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8