RFR: 8299414: JVMTI FollowReferences should support references from VirtualThread stack [v2]

Alan Bateman alanb at openjdk.org
Thu Apr 6 18:57:15 UTC 2023


On Thu, 6 Apr 2023 18:17:29 GMT, Alex Menkov <amenkov at 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


More information about the serviceability-dev mailing list