-
CSR
-
Resolution: Approved
-
P4
-
None
-
behavioral
-
minimal
-
None. This is a conservative spec clarification.
-
Java API
-
JDK
Summary
Add the usual happens-before sentences to the SubmissionPublisher class spec.
Problem
Adding these clarifies that the reported problem (and possibly others) should be considered a bug.
Solution
Add a paragraph to class-level spec. There are no compatibility or other risks in doing so.
Specification
Add the following:
* A single SubmissionPublisher may be shared among multiple
* sources. Actions in a source thread prior to publishing an item or
* issuing a signal <a href="package-summary.html#MemoryVisibility">
* <i>happen-before</i></a> actions subsequent to the corresponding
* access by each subscriber. But reported estimates of lag and demand
* are designed for use in monitoring, not for synchronization
* control, and may reflect stale or inaccurate views of progress.
- csr of
-
JDK-8187947 A race condition in SubmissionPublisher
- Resolved