ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/SubmissionPublisher.java
Revision 1.83 - (view) (download) (annotate) - [select for diffs]
Fri Jan 17 18:43:11 2020 UTC (4 years, 4 months ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.82: +1 -1 lines
Diff to previous 1.82
typos

Revision 1.82 - (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.81: +66 -19 lines
Diff to previous 1.81
FJ 1/20 refresh

Revision 1.81 - (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.80: +1 -1 lines
Diff to previous 1.80
prefer throwing ExceptionInInitializerError from <clinit> to throwing Error

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Sat Feb 10 20:59:32 2018 UTC (6 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79
rename growAndoffer to growAndOffer

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 11:55:02 2018 UTC (6 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.78: +3 -1 lines
Diff to previous 1.78
fix getSubscribers missing statement

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Thu Dec 7 14:26:30 2017 UTC (6 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.77: +10 -8 lines
Diff to previous 1.77
Fix mis-ordered completion check

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Wed Nov 29 21:39:00 2017 UTC (6 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.76: +0 -1 lines
Diff to previous 1.76
Remove no-longer-necessary comment

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Mon Nov 27 15:15:32 2017 UTC (6 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.75: +11 -7 lines
Diff to previous 1.75
Touch-ups

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Mon Nov 27 01:32:49 2017 UTC (6 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.74: +1 -3 lines
Diff to previous 1.74
getNumberOfSubscribers: simplify syntax

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Sun Nov 26 23:41:05 2017 UTC (6 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.73: +7 -5 lines
Diff to previous 1.73
tidying

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Sun Nov 26 20:35:30 2017 UTC (6 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.72: +1 -1 lines
Diff to previous 1.72
whitespace

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Sun Nov 26 20:13:33 2017 UTC (6 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.71: +569 -667 lines
Diff to previous 1.71
Fix JDK-8187947; other refactorings and improvements

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Thu Mar 9 00:11:08 2017 UTC (7 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70
Conform to reactive-stream.org -- reject request(0)

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Tue Mar 7 17:47:26 2017 UTC (7 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.69: +5 -3 lines
Diff to previous 1.69
slightly cleaner version of: Ensure subscriber consistency about close vs closeExceptionally

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Fri Mar 3 00:44:56 2017 UTC (7 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.68: +2 -1 lines
Diff to previous 1.68
Ensure subscriber consistency about close vs closeExceptionally

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Tue Dec 20 22:37:31 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.67: +2 -1 lines
Diff to previous 1.67
prevent access constructor tag anonymous class creation

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Fri Dec 16 13:11:50 2016 UTC (7 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.66: +1 -1 lines
Diff to previous 1.66
Remove unnecessary "private"

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Tue Dec 6 00:29:08 2016 UTC (7 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.65: +11 -11 lines
Diff to previous 1.65
Ensure onSubscribe occurs before onError

Revision 1.65 - (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.64: +1 -1 lines
Diff to previous 1.64
incorporate upstream VarHandle changes

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Wed Aug 24 21:45:00 2016 UTC (7 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.63: +3 -2 lines
Diff to previous 1.63
coding style

Revision 1.63 - (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.62: +5 -4 lines
Diff to previous 1.62
Use new CAS variants when applicable

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Wed Jun 8 19:44:32 2016 UTC (7 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61
Use acquire/release access when applicable

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Thu Jun 2 13:16:27 2016 UTC (7 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.60: +49 -59 lines
Diff to previous 1.60
VarHandles conversion; pass 1

Revision 1.60 - (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.59: +2 -2 lines
Diff to previous 1.59
s~\bsun\.(misc\.Unsafe)\b~jdk.internal.$1~g;
s~\bputOrdered([A-Za-z]+)\b~put${1}Release~g

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sat Apr 2 18:37:56 2016 UTC (8 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.58: +26 -86 lines
Diff to previous 1.58
Simplify FJ helping

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Fri Jan 29 20:06:49 2016 UTC (8 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57
migrate to: @since 9

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Wed Dec 16 02:29:06 2015 UTC (8 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
handle jdk9 move: sun.misc.Contended -> jdk.internal.vm.annotation.Contended

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sun Oct 11 04:27:44 2015 UTC (8 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55
whitespace

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Fri Sep 25 12:34:19 2015 UTC (8 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.54: +9 -12 lines
Diff to previous 1.54
prompter consume concellation; ensure at least 2 buffer slots

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sun Sep 20 17:20:16 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.53: +4 -3 lines
Diff to previous 1.53
make nested classes private

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sun Sep 20 17:03:23 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52
Terminate javadoc with a period.

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sat Sep 19 20:44:42 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51
ALL_CAPS for static finals

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sat Sep 19 18:24:23 2015 UTC (8 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.50: +4 -2 lines
Diff to previous 1.50
Mention compliance in javadoc

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sat Sep 19 17:59:04 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +0 -2 lines
Diff to previous 1.49
unused imports

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon Sep 14 07:06:17 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +93 -85 lines
Diff to previous 1.48
prettier @links

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Sep 13 13:39:41 2015 UTC (8 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47
incorporate suggested doc improvements

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sat Sep 12 18:20:28 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
javadoc style

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sat Sep 12 17:18:09 2015 UTC (8 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.45: +21 -4 lines
Diff to previous 1.45
Use same default executor conventions as CompletableFuture

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Sep 12 11:25:10 2015 UTC (8 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.44: +63 -0 lines
Diff to previous 1.44
Remove Flow.stream for now; move consume to SubmissionPublisher

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Fri Sep 11 16:44:34 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43
typos

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Sep 10 15:59:21 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42
whitespace

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Tue Sep 8 00:28:16 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +5 -5 lines
Diff to previous 1.41
javadoc style

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon Sep 7 22:25:41 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +11 -9 lines
Diff to previous 1.40
linkify references to Subscriber methods

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Mon Sep 7 17:12:56 2015 UTC (8 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.39: +11 -14 lines
Diff to previous 1.39
Allow buffer size 1

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sun Aug 9 14:30:12 2015 UTC (8 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.38: +11 -13 lines
Diff to previous 1.38
Regroup to reduce memory contention

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sat Aug 8 18:00:51 2015 UTC (8 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.37: +0 -3 lines
Diff to previous 1.37
whitespace

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Aug 3 15:06:44 2015 UTC (8 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.36: +14 -3 lines
Diff to previous 1.36
Add exception accessor

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Jul 29 23:37:23 2015 UTC (8 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.35: +80 -27 lines
Diff to previous 1.35
Incorporate review suggestions

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Fri Jul 24 18:51:27 2015 UTC (8 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
Incorporate review comments

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Jul 22 18:50:10 2015 UTC (8 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.33: +202 -134 lines
Diff to previous 1.33
Initial candidate with improved async support

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Mon Mar 23 18:48:19 2015 UTC (9 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.32: +4 -0 lines
Diff to previous 1.32
JDK-8074773: Reduce the risk of rare disastrous classloading in first call to LockSupport.park

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Jan 26 13:16:15 2015 UTC (9 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.31: +12 -6 lines
Diff to previous 1.31
Fix loops

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Jan 26 12:27:39 2015 UTC (9 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.30: +15 -18 lines
Diff to previous 1.30
copyedit pass

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sun Jan 25 23:37:31 2015 UTC (9 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.29: +55 -45 lines
Diff to previous 1.29
Javadoc improvements

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Sun Jan 25 15:19:40 2015 UTC (9 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.28: +166 -186 lines
Diff to previous 1.28
Minor improvements

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sat Jan 24 23:07:47 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.27: +1 -2 lines
Diff to previous 1.27
javadoc

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sat Jan 24 20:58:59 2015 UTC (9 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.26: +355 -267 lines
Diff to previous 1.26
Avoid state flicker, and other improvements

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sat Jan 24 18:46:28 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +5 -5 lines
Diff to previous 1.25
whitespace

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Fri Jan 23 13:48:41 2015 UTC (9 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.24: +125 -86 lines
Diff to previous 1.24
Expand spin/help/block cases; add defaults

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Jan 22 14:27:07 2015 UTC (9 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.23: +46 -17 lines
Diff to previous 1.23
Reduce head-of-line blocking

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Thu Jan 22 02:44:39 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
whitespace

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Wed Jan 21 21:05:53 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21
whitespace

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Jan 21 13:18:50 2015 UTC (9 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.20: +174 -149 lines
Diff to previous 1.20
Simplify API; improve monitoring support

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Jan 20 15:54:33 2015 UTC (9 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.19: +158 -109 lines
Diff to previous 1.19
Better FJ integration

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Tue Jan 20 01:22:28 2015 UTC (9 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.18: +116 -93 lines
Diff to previous 1.18
subscribe async when possible

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Jan 19 20:33:59 2015 UTC (9 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.17: +76 -22 lines
Diff to previous 1.17
Add overloaded subscribe

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Jan 19 19:47:06 2015 UTC (9 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.16: +34 -25 lines
Diff to previous 1.16
estimateAvailable now estimateBuffered

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sun Jan 18 15:54:13 2015 UTC (9 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.15: +258 -303 lines
Diff to previous 1.15
Misc refactorings; TransformProcessors now as example, not method

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Jan 17 15:05:20 2015 UTC (9 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.14: +60 -35 lines
Diff to previous 1.14
Reduce overhead; add example

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Fri Jan 16 17:36:37 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13
whitespace

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Fri Jan 16 16:42:29 2015 UTC (9 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.12: +25 -21 lines
Diff to previous 1.12
Reduce race windows

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri Jan 16 04:54:25 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11
javadoc punctuation

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 19:29:22 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.10: +9 -8 lines
Diff to previous 1.10
generate more readable html for @links

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 18:46:08 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9
tidy imports

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 18:05:08 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.8: +11 -13 lines
Diff to previous 1.8
standardize Unsafe mechanics

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 17:37:21 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
javadoc punctuation

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 17:33:03 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
convert to proper javadoc comments

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 17:31:03 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
javadoc punctuation

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 17:27:40 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.4: +8 -8 lines
Diff to previous 1.4
typos

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 17:20:08 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3
double trouble

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 17:13:59 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
javadoc tag order

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 17:07:17 2015 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.1: +21 -21 lines
Diff to previous 1.1
whitespace

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 15:58:31 2015 UTC (9 years, 4 months ago) by dl
Branch: MAIN
Initial commits

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