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

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

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Mon Dec 16 22:55:54 2019 UTC (4 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.77: +3 -3 lines
Diff to previous 1.77
fix a few [UnusedVariable] warnings

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Wed Nov 21 23:42:12 2018 UTC (5 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.76: +1 -1 lines
Diff to previous 1.76
fix some [UnnecessaryParentheses] warnings

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Tue Jan 23 20:44:11 2018 UTC (6 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.75: +1 -2 lines
Diff to previous 1.75
migrate from AssertionFailedError to AssertionError

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Mon May 29 22:44:27 2017 UTC (6 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.74: +14 -10 lines
Diff to previous 1.74
more timeout handling rework; remove most uses of MEDIUM_DELAY_MS; randomize timeouts and TimeUnits; write out IAE and ISE

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

Revision 1.73 - (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.72: +1 -1 lines
Diff to previous 1.72
use await(CountDownLatch) pervasively

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Wed Jan 4 06:09:58 2017 UTC (7 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.71: +15 -15 lines
Diff to previous 1.71
convert to Diamond

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Thu Sep 15 01:18:01 2016 UTC (7 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.70: +3 -9 lines
Diff to previous 1.70
fix errorprone warning NonAtomicVolatileUpdate

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Tue Oct 13 21:18:28 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.69: +4 -1 lines
Diff to previous 1.69
testIsQuiescent: fix 1/billion failure; getActiveThreadCount will eventually become 0 after isQuiescent reports true, but not necessarily immediately

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Tue Oct 13 21:14:39 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.68: +16 -2 lines
Diff to previous 1.68
fix a theoretical never-observed race failure in testGetPoolSize

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Thu Oct 8 03:08:37 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.67: +3 -1 lines
Diff to previous 1.67
improve testTimedInvokeAny5

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Thu Oct 8 03:03:36 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.66: +3 -1 lines
Diff to previous 1.66
improve testTimedInvokeAny4

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Tue Oct 6 23:16:51 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.65: +7 -5 lines
Diff to previous 1.65
improve testSetUncaughtExceptionHandler

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Tue Oct 6 21:22:54 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.64: +10 -10 lines
Diff to previous 1.64
improve testSetUncaughtExceptionHandler

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Mon Oct 5 22:54:45 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.63: +5 -8 lines
Diff to previous 1.63
improve testInterruptedSubmit

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Sun Oct 4 08:27:41 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62
testTimedInvokeAll4: bump timeout to LONG_DELAY

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Sun Oct 4 07:42:07 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.61: +186 -239 lines
Diff to previous 1.61
PoolCleaning

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Sun Oct 4 00:59:08 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.60: +1 -1 lines
Diff to previous 1.60
rejigger pool closing infrastructure

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Oct 4 00:40:33 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.59: +2 -3 lines
Diff to previous 1.59
rejigger pool closing infrastructure

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun Oct 4 00:30:50 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58
rejigger pool closing infrastructure

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sat Oct 3 19:18:37 2015 UTC (8 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57
use <>

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sat Oct 3 16:57:25 2015 UTC (8 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.56: +3 -4 lines
Diff to previous 1.56
add PoolCloser for better test hygiene

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Fri Oct 2 21:52:36 2015 UTC (8 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.55: +1 -1 lines
Diff to previous 1.55
s/MEDIUM_DELAY/LONG_DELAY/

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

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

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

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Wed Sep 25 07:39:17 2013 UTC (10 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +2 -3 lines
Diff to previous 1.51
cosmetic changes

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri Jul 26 16:36:21 2013 UTC (10 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50
make compute() protected

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Mon May 20 16:46:23 2013 UTC (10 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +28 -0 lines
Diff to previous 1.49
add testAwaitTermination_timesOut

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sat Feb 16 20:50:29 2013 UTC (11 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +1 -1 lines
Diff to previous 1.48
javadoc comment correctness

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Wed Feb 6 16:36:36 2013 UTC (11 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.47: +34 -26 lines
Diff to previous 1.47
add missing try finally { joinPool }

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Mon Jan 14 22:05:39 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +2 -4 lines
Diff to previous 1.46
remove all javac [divzero] warnings

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Tue Jan 10 16:31:30 2012 UTC (12 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
whitespace

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Tue Jan 10 14:03:17 2012 UTC (12 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
Reinstate delay constant

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue Jan 10 13:48:27 2012 UTC (12 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.43: +5 -2 lines
Diff to previous 1.43
Allow either outcome in UncaughtExceptionHandler vs RejectedExecution race

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sun May 29 13:45:35 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42
various test case improvements

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sun May 29 07:01:17 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +8 -4 lines
Diff to previous 1.41
various test case improvements

Revision 1.41 - (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.40: +0 -6 lines
Diff to previous 1.40
whitespace

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sun May 15 17:32:29 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.39: +20 -6 lines
Diff to previous 1.39
improve testisQuiescent

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

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

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

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Mon Nov 29 07:42:58 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.35: +12 -6 lines
Diff to previous 1.35
remove unreliable sleeps from testDrainTasksTo and testPollSubmission

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Fri Nov 19 00:20:47 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.34: +29 -72 lines
Diff to previous 1.34
Use runWithPermissions for priv exec tests

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu Nov 18 19:14:34 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.33: +10 -6 lines
Diff to previous 1.33
add a few assertions

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Thu Nov 18 19:04:17 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
typos

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 04:39:12 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +11 -11 lines
Diff to previous 1.31
optimize runtime

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Oct 9 19:46:42 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.30: +2 -4 lines
Diff to previous 1.30
small simplification

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Fri Sep 17 17:07:47 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29
testisQuiescent: use SMALL delay

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Fri Sep 17 16:49:25 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28
testSetUncaughtExceptionHandler: use non-failing task; always use assertTrue(latch.await(timeout))

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Fri Sep 17 14:19:52 2010 UTC (13 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
testSetUncaughtExceptionHandler needs shutdownNow

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Fri Sep 17 01:04:10 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.26: +43 -36 lines
Diff to previous 1.26
Intentionally break two tests, because it appears that these are implementation bugs:\nRemove call to shutdownNow in testSetUncaughtExceptionHandler;\nmake testInterruptedSubmit less flaky be replacing calls to sleep with CountDownLatches

Revision 1.26 - (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.25: +25 -25 lines
Diff to previous 1.25
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.25 - (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.24: +3 -1 lines
Diff to previous 1.24
fix imports

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Sep 13 15:34:42 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.23: +5 -4 lines
Diff to previous 1.23
fix import statements

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Sep 11 19:04:12 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.22: +80 -59 lines
Diff to previous 1.22
shut down all pools to prevent "thread leaks"

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

Revision 1.21 - (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.20: +1 -1 lines
Diff to previous 1.20
whitespace

Revision 1.20 - (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.19: +97 -160 lines
Diff to previous 1.19
Sync with API simplifications

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Feb 28 13:35:22 2010 UTC (14 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.18: +1 -0 lines
Diff to previous 1.18
testSetUncaughtExceptionHandler fix

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Feb 22 11:25:16 2010 UTC (14 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
fix wrong accessor call in testGetPoolSize

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Jan 5 02:08:37 2010 UTC (14 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.16: +32 -64 lines
Diff to previous 1.16
Make tests security-manager-aware

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 22:51:44 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.15: +46 -58 lines
Diff to previous 1.15
various improvements for invokeAll and invokeAny tests

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 09:54:17 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.14: +9 -1 lines
Diff to previous 1.14
testTimedInvokeAny3 had rare intermittent failures

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

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Nov 26 15:42:15 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
change access modifiers to allow access from multiple packages

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 20:10:48 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.11: +7 -1 lines
Diff to previous 1.11
check ExecutionException causes

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 20:02:13 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.10: +1 -0 lines
Diff to previous 1.10
check ExecutionException cause in testInvokeAny4

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 10:25:05 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.9: +6 -10 lines
Diff to previous 1.9
improve exception handling

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Aug 5 00:49:40 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.8: +26 -4 lines
Diff to previous 1.8
Fix flaky test testInvokeAny3

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Aug 4 21:10:19 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.7: +12 -12 lines
Diff to previous 1.7
test methods must join with any threads they start

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Aug 4 00:23:18 2009 UTC (14 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.6: +2 -3 lines
Diff to previous 1.6
fix 2 tests

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Mon Aug 3 22:08:07 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.5: +135 -270 lines
Diff to previous 1.5
cleanup exception handling

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

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Aug 1 21:56:02 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3
javadoc cleanup

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

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Jul 31 23:37:31 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.1: +77 -78 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, 9 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