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

Alan Bateman alanb at openjdk.org
Thu Apr 6 14:07:16 UTC 2023


On Wed, 5 Apr 2023 21:09:09 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> The fix updates JVMTI FollowReferences implementation to report references from virtual threads:
>> - added heap scanning to report unmounted vthreads;
>> - stacks of mounted vthreads are splitted into 2 parts (vittual thread stack and carrier thread stack), references are reported with correct thread id/class and object tags/frame depth;
>> - common code to handle stack frames are moved into separate class;
>
> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   aree -> are

Do I read it correctly that the entire heap is walked to find the unmounted virtual threads?

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

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


More information about the hotspot-dev mailing list