ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/StampedLockTest.java
Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Tue Jan 26 13:33:06 2021 UTC (3 years, 3 months ago) by dl
Branch: MAIN
CVS Tags: HEAD
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
Replace Integer with Item class

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Wed Aug 12 16:15:28 2020 UTC (3 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +1 -0 lines
Diff to previous 1.45
fix errorprone [UnusedVariable]

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Wed Aug 12 16:12:23 2020 UTC (3 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +6 -2 lines
Diff to previous 1.44
fix errorprone [UnusedVariable]

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sun Sep 29 20:19:43 2019 UTC (4 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.43: +147 -38 lines
Diff to previous 1.43
add testConcurrentAccess

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Fri Feb 22 19:27:47 2019 UTC (5 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.42: +109 -98 lines
Diff to previous 1.42
improve assertThrows tests

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Mon Nov 27 23:38:11 2017 UTC (6 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
prefer assertEquals to threadAssertEquals

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Wed Oct 4 03:49:33 2017 UTC (6 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +109 -0 lines
Diff to previous 1.40
8187941: Add StampedLock stamp inspection methods

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Tue Sep 26 01:38:55 2017 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39
whitespace

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sun Sep 24 15:24:34 2017 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.38: +40 -0 lines
Diff to previous 1.38
Improve code samples

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu Sep 21 17:52:52 2017 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.37: +46 -0 lines
Diff to previous 1.37
add new tests testNonReentrant, testNoOwnership

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Jul 3 19:36:24 2017 UTC (6 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.36: +0 -1 lines
Diff to previous 1.36
remove unused import

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Mon May 29 19:15:03 2017 UTC (6 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.35: +4 -2 lines
Diff to previous 1.35
more timeout handling rework; remove most uses of SMALL_DELAY_MS; randomize timeouts and TimeUnits; remove hardcoded 5 second timeouts

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Sat May 13 23:05:02 2017 UTC (6 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34
claw back some millis using assertThreadBlocks

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sat Mar 25 21:41:10 2017 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
use await(CountDownLatch) pervasively

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sat Feb 18 14:32:09 2017 UTC (7 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.32: +25 -19 lines
Diff to previous 1.32
various minor improvements

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Feb 18 00:39:20 2017 UTC (7 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31
testValidateOptimisticWriteLocked2: improve local variable name

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Feb 18 00:34:52 2017 UTC (7 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30
testWriteAfterReadLock: improve local variable name

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Feb 18 00:32:30 2017 UTC (7 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.29: +0 -3 lines
Diff to previous 1.29
dead code removal

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 22:42:10 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +12 -12 lines
Diff to previous 1.28
elide parens in unary lambdas

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Wed Aug 24 22:22:39 2016 UTC (7 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.27: +0 -1 lines
Diff to previous 1.27
fix imports

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Wed Aug 10 17:05:13 2016 UTC (7 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.26: +583 -581 lines
Diff to previous 1.26
more test scenarios

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sun Jul 17 03:06:50 2016 UTC (7 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +75 -7 lines
Diff to previous 1.25
add testInvalidReadStampsThrowIllegalMonitorStateException

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Jul 17 02:30:53 2016 UTC (7 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.24: +56 -0 lines
Diff to previous 1.24
add testInvalidWriteStampsThrowIllegalMonitorStateException

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 23:28:30 2016 UTC (7 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.23: +8 -0 lines
Diff to previous 1.23
tryConvertToReadLock fails to convert an optimistic read stamp when already read locked

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 22:21:05 2016 UTC (7 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.22: +7 -0 lines
Diff to previous 1.22
testTryConvertToWriteLock: small improvements

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 22:19:52 2016 UTC (7 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.21: +31 -11 lines
Diff to previous 1.21
testTryConvertToReadLock: small improvements

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 22:10:33 2016 UTC (7 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.20: +15 -8 lines
Diff to previous 1.20
testTryConvertToWriteLock: small improvements

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 07:20:09 2016 UTC (7 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.19: +6 -0 lines
Diff to previous 1.19
tryConvertToOptimisticRead should return input optimistic stamp when currently read-locked

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 06:25:29 2016 UTC (7 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.18: +10 -3 lines
Diff to previous 1.18
testTryConvertToOptimisticRead: small improvements

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 02:12:18 2016 UTC (7 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.17: +15 -0 lines
Diff to previous 1.17
testCannotUnlockOptimisticReadStamps: more variations

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 02:04:47 2016 UTC (7 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
whitespace

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 02:03:46 2016 UTC (7 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.15: +93 -0 lines
Diff to previous 1.15
add testCannotUnlockOptimisticReadStamps

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 00:03:27 2016 UTC (7 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.14: +12 -0 lines
Diff to previous 1.14
add testLockViewsDoNotSupportConditions

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Fri May 15 18:21:19 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.13: +6 -6 lines
Diff to previous 1.13
try/catch block scope hygiene

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

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri Feb 27 21:54:13 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.11: +12 -12 lines
Diff to previous 1.11
whitespace

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

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

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 16:44:02 2014 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.8: +0 -1 lines
Diff to previous 1.8
remove unused imports

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Sep 24 16:24:14 2013 UTC (10 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
testValidate2: use much shorter timeouts

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Mar 22 16:10:19 2013 UTC (11 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.6: +14 -14 lines
Diff to previous 1.6
whitespace

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Mar 21 19:06:54 2013 UTC (11 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.5: +14 -7 lines
Diff to previous 1.5
test new map methods

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Mar 21 16:26:43 2013 UTC (11 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4
CompletableFuture coverage

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Mar 20 16:51:11 2013 UTC (11 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.3: +900 -1658 lines
Diff to previous 1.3
Basic coverage

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sat Feb 9 19:33:08 2013 UTC (11 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2
nag tck maintainers

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Feb 1 21:44:41 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.1: +5 -2 lines
Diff to previous 1.1
StampedLockTest, meet StampedLock!

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Feb 1 19:07:36 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
add support for conditional jdk8 tests

Convenience Links

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

Compare Revisions

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