ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ForkJoinTaskTest.java
Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Wed Jan 27 01:57:24 2021 UTC (3 years, 2 months ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.60: +2 -2 lines
Diff to previous 1.60
use diamond <> pervasively

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Tue Jan 26 13:33:06 2021 UTC (3 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.59: +11 -11 lines
Diff to previous 1.59
Replace Integer with Item class

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Fri Dec 4 20:29:22 2020 UTC (3 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.58: +15 -12 lines
Diff to previous 1.58
JDK-8246587: adaptInterruptible deferred to its own independent change

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Thu Jun 4 14:17:31 2020 UTC (3 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +13 -0 lines
Diff to previous 1.57
testAdaptInterruptible_Callable_toString

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Mon Aug 12 15:08:44 2019 UTC (4 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.56: +2 -0 lines
Diff to previous 1.56
Fix test race

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sun Jul 22 20:47:22 2018 UTC (5 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.55: +9 -5 lines
Diff to previous 1.55
Fix errorprone warning [AssertionFailureIgnored]

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Wed Nov 8 02:21:43 2017 UTC (6 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
rollback: better exception handling

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sat Oct 21 06:52:36 2017 UTC (6 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53
better exception handling

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Wed Aug 16 17:18:34 2017 UTC (6 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.52: +39 -0 lines
Diff to previous 1.52
8186265: Make toString() methods of "task" objects more useful

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

Revision 1.51 - (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.50: +0 -2 lines
Diff to previous 1.50
fix imports

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Aug 10 01:28:14 2016 UTC (7 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +8 -10 lines
Diff to previous 1.49
introduce shuffle(T[]) utility method

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sun Oct 18 16:40:57 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +21 -0 lines
Diff to previous 1.48
add testCompleteExceptionally_null

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Oct 11 19:53:59 2015 UTC (8 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.47: +12 -18 lines
Diff to previous 1.47
remove unused code remnant

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sun Oct 11 15:34:07 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
whitespace

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sun Oct 11 13:30:30 2015 UTC (8 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.45: +12 -5 lines
Diff to previous 1.45
fix cancellation in test class

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Wed Oct 7 22:39:31 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +23 -14 lines
Diff to previous 1.44
shuffle tasks in AbnormalInvokeAll tests

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue Oct 6 00:36:55 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.43: +8 -8 lines
Diff to previous 1.43
t0 -> startTime

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Oct 5 23:32:07 2015 UTC (8 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
Use volatile links in test class

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sun Oct 4 16:14:48 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +1 -3 lines
Diff to previous 1.41
PoolCleaning

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

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 19:05:42 2014 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.39: +7 -3 lines
Diff to previous 1.39
no wildcard imports

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 17:00:58 2014 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
lexicographic import order

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

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Jul 22 18:11:57 2013 UTC (10 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
whitespace

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Mon Jul 22 18:01:03 2013 UTC (10 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.35: +0 -1 lines
Diff to previous 1.35
whitespace

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Sun Jul 21 22:24:18 2013 UTC (10 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.34: +18 -0 lines
Diff to previous 1.34
Adapt/incorporate JDK8 tests including suggestions by Eric Wang

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon Jun 3 18:20:05 2013 UTC (10 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.33: +71 -71 lines
Diff to previous 1.33
remove redundant CheckedFJTask; realCompute should be: public => protected

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Fri May 27 19:42:42 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.32: +0 -7 lines
Diff to previous 1.32
whitespace

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Fri May 27 17:15:48 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
Fix javac warnings

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Tue Mar 15 19:47:06 2011 UTC (13 years, 1 month ago) by jsr166
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
Update Creative Commons license URL in legal notices

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Tue Feb 22 01:18:59 2011 UTC (13 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.29: +5 -5 lines
Diff to previous 1.29
Tests for expected exceptions should only assert same class, not identity

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Nov 23 06:33:26 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28
join/quietlyJoin is permitted to clear interrupt status

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Nov 22 22:45:49 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.27: +33 -1 lines
Diff to previous 1.27
some more join/quietlyJoin/interrupt assertions

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Nov 22 07:50:50 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.26: +1 -0 lines
Diff to previous 1.26
small improvement to testSetRawResult

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Mon Nov 22 07:40:24 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
small correction to test description

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Nov 21 20:32:15 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.24: +6 -0 lines
Diff to previous 1.24
add assertions for behavior of cancel() when task done

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sun Nov 21 19:06:53 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.23: +221 -139 lines
Diff to previous 1.23
miscellaneous test improvements

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Nov 21 07:45:00 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.22: +4 -4 lines
Diff to previous 1.22
reversion of 1.22: Weaken assertSame of exceptions on failure

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Nov 18 11:44:29 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21
Weaken assertSame of exceptions on failure

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sun Oct 24 17:52:23 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
whitespace

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun Oct 24 13:41:17 2010 UTC (13 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.19: +529 -1 lines
Diff to previous 1.19
Explicitly test singleton vs multi-thread pools

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Sep 27 19:15:16 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
use blessed declaration modifier order

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri Sep 17 00:55:19 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.17: +42 -9 lines
Diff to previous 1.17
more checks when get throws ExecutionException or CancellationException

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Sep 16 00:52:49 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.16: +256 -276 lines
Diff to previous 1.16
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.16 - (view) (download) (annotate) - [select for diffs]
Mon Sep 13 23:23:44 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.15: +45 -45 lines
Diff to previous 1.15
check return values from invoke, fork, join, cancel

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Sep 13 20:48:58 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
fix imports

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Sep 13 07:51:18 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.13: +63 -45 lines
Diff to previous 1.13
avoid static ForkJoinPools; create a new pool for each test instead

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Sep 13 07:26:30 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.12: +1 -12 lines
Diff to previous 1.12
cleanup import statements

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Sep 13 07:22:29 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.11: +359 -400 lines
Diff to previous 1.11
whitespace

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Sep 11 07:31:52 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.10: +0 -1 lines
Diff to previous 1.10
whitespace

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Sep 1 06:41:55 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9
trailing whitespace

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

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Wed Aug 11 19:50:02 2010 UTC (13 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.7: +21 -119 lines
Diff to previous 1.7
Sync with API simplifications

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 23:01:44 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6
replace 5 seconds absolute timeout with LONG_DELAY_MS

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 06:47:14 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5
whitespace

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 02:07:26 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
untabify

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Aug 4 09:35:31 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.3: +16 -7 lines
Diff to previous 1.3
add missing shouldThrow(); tighten up catches

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sat Aug 1 22:09:13 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
typo fixes

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Jul 31 23:37:31 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.1: +73 -73 lines
Diff to previous 1.1
whitespace

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Jul 31 23:02:49 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Add new TCK tests for JDK7

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