[External] : Re: Virtual thread memory leak because TrackingRootContainer keeps threads

Ron Pressler ron.pressler at oracle.com
Thu Aug 1 15:46:33 UTC 2024



> On 1 Aug 2024, at 16:04, Robert Engels <robaho at icloud.com> wrote:
> 
> “Thread leak” is real, but I don’t think the solution is to try add auto-cleanup.

No auto-cleanup is being discussed or suggested. Certainly new mechanisms are not being added. Unreachable memory may be overwritten and reused by the VM, and whether or not garbage collection is over-complicated, it is simply how the JDK works.

— Ron


More information about the loom-dev mailing list