mapConcurrent() with InterruptedException

Alan Bateman alan.bateman at oracle.com
Thu Jan 2 07:52:54 UTC 2025


On 27/12/2024 18:00, Jige Yu wrote:
> Hi Loom experts,
>
> I was reading the mapConcurrent() 
> <https://github.com/openjdk/loom/blob/fibers/src/java.base/share/classes/java/util/stream/Gatherers.java>source 
> code yesterday and started to wonder what the behavior is when the 
> thread running the gatherer is being interrupted while waiting.
>
This is Stream Gatherers and unspecified behavior when interrupted so 
better to bring this to core-libs-dev to discuss.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20250102/c962843a/attachment.htm>


More information about the loom-dev mailing list