RFR: 8306027: Clarify JVMTI heap functions spec about virtual thread stack. [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Sat May 6 09:42:14 UTC 2023


On Fri, 5 May 2023 23:32:33 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> The fix updates JVMTI spec updates description of heap functions to support virtual threads.
>> Virtual threads are not heap roots by design, so FollowReference/IterateOverReachableObjects specs are updated to note only platform threads.
>> References from thread stacks (including virtual threads) are reported as JVMTI_HEAP_REFERENCE_STACK_LOCAL/JVMTI_HEAP_REFERENCE_JNI_LOCAL, so description of the values is relaxed.
>
> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   updated spec to follow CSR

Looks good.
Thanks,
Serguei

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13661#pullrequestreview-1415749689


More information about the hotspot-dev mailing list