ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/SubmissionPublisher.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/SubmissionPublisher.java (file contents):
Revision 1.82 by dl, Fri Jan 17 18:12:07 2020 UTC vs.
Revision 1.83 by jsr166, Fri Jan 17 18:43:11 2020 UTC

# Line 148 | Line 148 | public class SubmissionPublisher<T> impl
148       * Most mechanics are handled by BufferedSubscription. This class
149       * mainly tracks subscribers and ensures sequentiality, by using
150       * locks across public methods, to ensure thread-safety in the
151 <     * presence of multiuple sources and maintain acquire-release
151 >     * presence of multiple sources and maintain acquire-release
152       * ordering around user operations. However, we also track whether
153       * there is only a single source, and if so streamline some buffer
154       * operations by avoiding some atomics.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines