<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Finally, I don’t understand why you’re bothered by any of this. If you’re interested in observing all of your threads, then they will not be collected. Others may use virtual threads in a different way, have millions of them, and would prefer that the memory of those threads that can no longer have any effect would be collected just like any other Java object. You do and will have a choice.<br></blockquote><div><br></div><div>Choice is flexibility what is good, but choice is also complexity, what is bad. Simpler system can be better than flexible system.</div><div><br></div><div>In current case choice is not well designed IMHO. When you choice to enable observability, you risk memory leak. Well designed observability should be safe for application.</div><div><br></div><div>Finally, choice is choice when if fair. Now choice is not undocumented and commonly unknown</div></div></div>