Java memory model question
Luke Hutchison
luke.hutch at gmail.com
Fri Mar 6 20:55:09 UTC 2020
On Fri, Mar 6, 2020 at 1:24 PM Paul Sandoz <paul.sandoz at oracle.com> wrote:
> We could ad something at the end of the Stream doc.
>
Thanks. It seems like an obvious conclusion to draw that all work in a
stream will terminate before control is returned to the caller. However, a
parallel stream involves submitting work to a thread pool, and it should
always be spelled out whether launching work in other threads is
asynchronous or synchronous/blocking.
More information about the jdk-dev
mailing list