On Thu, 6 Apr 2023 18:17:29 GMT, Alex Menkov <amen...@openjdk.org> wrote:

> Correct. I don't see other way to find unmounted threads

FollowReferences is a graph walk so it will visit the reachable virtual 
Threads. If I'm not mistake, VThreadClosure will iterate over unreachable 
Virtual Thread objects. That might be okay as they should be terminated and 
thus not have any frames, but maybe the other approach needs to be explored too.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13254#issuecomment-1499484526

Reply via email to