[External] : Re: Ephemeral threads
Viktor Klang
viktor.klang at oracle.com
Mon Jan 12 11:50:54 UTC 2026
Yes, just search for "forgotten sender abandoned receiver".
On 2026-01-12 12:22, Robert Engels wrote:
> That is not true. Go routines do not “clean up” when they cannot make
> progress due to no producers. Go leaks due to this are very common.
>
>> On Jan 12, 2026, at 4:05 AM, Alex Otenko <oleksandr.otenko at gmail.com>
>> wrote:
>>
>>
>> I'd say it's not even clear why that'd constitute a bug. Whole
>> systems are built on go-rourines and continuations getting GCed.
>>
>> I think there certainly is a clash between the need to track life
>> cycle of something (tell threads to terminate) in a system where life
>> cycle of things is not tracked (because GC).
>>
>> On Mon, 12 Jan 2026, 09:58 Viktor Klang, <viktor.klang at oracle.com> wrote:
>>
>> How do you find the bug?
>>
>> On 2026-01-12 05:36, robert engels wrote:
>> > Why not just fix your design to ensure the proper behavior?
>>
>> --
>> Cheers,
>> √
>>
>>
>> Viktor Klang
>> Software Architect, Java Platform Group
>> Oracle
>>
--
Cheers,
√
Viktor Klang
Software Architect, Java Platform Group
Oracle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20260112/41659bfe/attachment-0001.htm>
More information about the loom-dev
mailing list