ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/CountedCompleter.java
Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Fri May 6 16:03:04 2022 UTC (2 years ago) by dl
Branch: MAIN
CVS Tags: HEAD
Changes since 1.71: +2 -0 lines
Diff to previous 1.71 , to selected 1.43
sync with openjdk

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Fri Mar 18 16:01:42 2022 UTC (2 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.70: +4 -5 lines
Diff to previous 1.70 , to selected 1.43
jdk17+ suppressWarnings, FJ updates

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Sun Nov 14 16:19:13 2021 UTC (2 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.69: +14 -14 lines
Diff to previous 1.69 , to selected 1.43
Reduce static initialization; unify termination checks

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Fri Nov 27 17:41:59 2020 UTC (3 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68 , to selected 1.43
Incorporate snippets code improvements from Pavel Rappo

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Mon Jan 20 15:51:54 2020 UTC (4 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.67: +0 -19 lines
Diff to previous 1.67 , to selected 1.43
improve compatibilty for timeouts etc; increase common code paths

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Fri Jan 17 18:12:07 2020 UTC (4 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.66: +45 -16 lines
Diff to previous 1.66 , to selected 1.43
FJ 1/20 refresh

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Sun Mar 11 18:00:06 2018 UTC (6 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.65: +1 -1 lines
Diff to previous 1.65 , to selected 1.43
prefer throwing ExceptionInInitializerError from <clinit> to throwing Error

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sat Dec 2 16:42:41 2017 UTC (6 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64 , to selected 1.43
Use atomic bitwise operations, with minor refactorings to enable it.

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Wed Apr 19 23:45:51 2017 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.63: +1 -2 lines
Diff to previous 1.63 , to selected 1.43
Redo @link and @linkplain; one @link was pointing to the wrong poll method

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Mon Sep 12 17:49:12 2016 UTC (7 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62 , to selected 1.43
improve code comment as suggested by reviewers

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Sat Sep 10 04:06:51 2016 UTC (7 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 , to selected 1.43
incorporate upstream VarHandle changes

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Tue Aug 30 18:09:45 2016 UTC (7 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.60: +2 -4 lines
Diff to previous 1.60 , to selected 1.43
balance braces in code samples

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Mon Aug 29 20:08:08 2016 UTC (7 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.59: +1 -1 lines
Diff to previous 1.59 , to selected 1.43
tiny wordsmithing

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Mon Aug 29 19:42:54 2016 UTC (7 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 , to selected 1.43
whitespace

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Mon Aug 29 19:13:16 2016 UTC (7 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +85 -71 lines
Diff to previous 1.57 , to selected 1.43
Improve code samples; add corresponding tests

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Fri Jun 17 13:03:45 2016 UTC (7 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 , to selected 1.43
Use new CAS variants when applicable

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Thu Jun 2 13:40:42 2016 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.55: +1 -1 lines
Diff to previous 1.55 , to selected 1.43
whitespace

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Thu Jun 2 13:16:27 2016 UTC (8 years ago) by dl
Branch: MAIN
Changes since 1.54: +14 -11 lines
Diff to previous 1.54 , to selected 1.43
VarHandles conversion; pass 1

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Wed Apr 27 19:51:53 2016 UTC (8 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53 , to selected 1.43
CountedCompleter.propagateCompletion: remove dead store

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Tue Apr 19 22:55:30 2016 UTC (8 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52 , to selected 1.43
s~\bsun\.(misc\.Unsafe)\b~jdk.internal.$1~g;
s~\bputOrdered([A-Za-z]+)\b~put${1}Release~g

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Tue Oct 20 05:03:12 2015 UTC (8 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 , to selected 1.43
improvement -> optimization

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sun Oct 18 16:46:54 2015 UTC (8 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.50: +6 -6 lines
Diff to previous 1.50 , to selected 1.43
cosmetic javadoc changes

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sat Oct 17 23:49:20 2015 UTC (8 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49 , to selected 1.43
@link-ify

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 09:15:11 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 , to selected 1.43
standardize Unsafe mechanics; slightly smaller bytecode

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 01:06:15 2015 UTC (9 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.47: +1 -1 lines
Diff to previous 1.47 , to selected 1.43
use ReflectiveOperationException for Unsafe mechanics

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Fri May 30 16:10:11 2014 UTC (10 years ago) by jsr166
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 , to selected 1.43
whitespace

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Mon Dec 9 17:00:23 2013 UTC (10 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +8 -7 lines
Diff to previous 1.45 , to selected 1.43
use the one true code snippet style

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Jul 27 19:53:27 2013 UTC (10 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44 , to selected 1.43
javadoc clarity

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue Jul 9 13:23:51 2013 UTC (10 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.43: +3 -1 lines
Diff to previous 1.43
Clarify javadoc wording

Revision 1.43 - (view) (download) (annotate) - [selected]
Tue Jul 2 14:17:32 2013 UTC (10 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42
Incorporate review suggestions

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu Jun 20 15:06:50 2013 UTC (10 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.41: +18 -0 lines
Diff to previous 1.41 , to selected 1.43
Add CC.helpComplete

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Wed Jun 19 16:57:06 2013 UTC (10 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +0 -1 lines
Diff to previous 1.40 , to selected 1.43
whitespace

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Jun 6 00:40:13 2013 UTC (10 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 , to selected 1.43
clarify and test that complete() ignores pending count

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Mon Jun 3 16:40:53 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 , to selected 1.43
wordsmithing

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu May 30 06:00:41 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 , to selected 1.43
whitespace

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu May 30 05:58:22 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36 , to selected 1.43
typo

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Thu May 23 10:36:03 2013 UTC (11 years ago) by dl
Branch: MAIN
Changes since 1.35: +13 -12 lines
Diff to previous 1.35 , to selected 1.43
Clarrify onExceptionalCompletion

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed May 15 16:54:58 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 , to selected 1.43
clarify exception propagation in onExceptionalCompletion

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed May 15 03:03:02 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33 , to selected 1.43
word smithing

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Wed May 15 02:39:59 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 , to selected 1.43
consistent use of "@return {@code true}"

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Feb 25 17:59:40 2013 UTC (11 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 , to selected 1.43
lambda syncs and improvements

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Feb 11 07:13:22 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.30: +38 -35 lines
Diff to previous 1.30 , to selected 1.43
javadoc link readability

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Tue Feb 5 19:54:06 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 , to selected 1.43
javadoc style

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Wed Jan 16 15:04:04 2013 UTC (11 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 , to selected 1.43
lambda-lib support

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sat Dec 15 21:26:06 2012 UTC (11 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 , to selected 1.43
whitespace

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Nov 26 14:11:54 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26 , to selected 1.43
IO => I/O

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Mon Nov 26 12:08:49 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +7 -6 lines
Diff to previous 1.25 , to selected 1.43
Improve javadoc links for "Searching"

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Mon Nov 26 05:55:05 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 , to selected 1.43
javadoc tweaks

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Nov 26 05:46:55 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 , to selected 1.43
javadoc tweaks

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Nov 25 21:04:43 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.22: +6 -6 lines
Diff to previous 1.22 , to selected 1.43
whitespace

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sun Nov 25 19:25:06 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 , to selected 1.43
javadoc style

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sun Nov 25 18:54:50 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 , to selected 1.43
whitespace

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun Nov 25 18:45:48 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 , to selected 1.43
javadoc style

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Nov 25 18:39:07 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 , to selected 1.43
typo

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Nov 24 03:56:07 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 , to selected 1.43
typos

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat Nov 24 03:49:24 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 , to selected 1.43
code sample whitespace

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Nov 24 03:46:28 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 , to selected 1.43
whitespace

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Fri Nov 23 17:50:56 2012 UTC (11 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.14: +297 -148 lines
Diff to previous 1.14 , to selected 1.43
Add CountedCompleter utilities; now use them in ConcurrentHashMap

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Nov 19 18:12:34 2012 UTC (11 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.13: +117 -35 lines
Diff to previous 1.13 , to selected 1.43
better memory positioning

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Nov 18 18:03:11 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 , to selected 1.43
normalize whitespace after <p>

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Nov 14 18:45:53 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 , to selected 1.43
whitespace

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Nov 14 17:20:34 2012 UTC (11 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.10: +2 -27 lines
Diff to previous 1.10 , to selected 1.43
commonPool support

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Fri Nov 9 03:30:03 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 , to selected 1.43
whitespace

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Oct 31 12:49:18 2012 UTC (11 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.8: +2 -12 lines
Diff to previous 1.8 , to selected 1.43
commonPool improvements

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Oct 30 16:05:36 2012 UTC (11 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 , to selected 1.43
whitespace

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Oct 30 14:23:07 2012 UTC (11 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.6: +50 -2 lines
Diff to previous 1.6 , to selected 1.43
Common pool support for CountedCompleters

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Oct 21 05:28:08 2012 UTC (11 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 , to selected 1.43
fix javadoc typo

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Oct 21 05:22:35 2012 UTC (11 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.4: +7 -6 lines
Diff to previous 1.4 , to selected 1.43
fix a javadoc warning

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Thu Aug 16 12:25:08 2012 UTC (11 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.3: +61 -49 lines
Diff to previous 1.3 , to selected 1.43
Parameterize CountedCompleters

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Mon Aug 13 15:50:31 2012 UTC (11 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.2: +10 -7 lines
Diff to previous 1.2 , to selected 1.43
Merge in jsr166e

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Apr 21 11:45:16 2012 UTC (12 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.1: +52 -20 lines
Diff to previous 1.1 , to selected 1.43
add CountedCompleter.onExceptionalCompletion

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Mon Apr 9 13:12:28 2012 UTC (12 years, 1 month ago) by dl
Branch: MAIN
Diff to selected 1.43
Add CountedCompleter; improve tryHelpStealer

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