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

Alan Bateman alanb at openjdk.org
Sat May 6 05:21:16 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

Marked as reviewed by alanb (Reviewer).

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

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


More information about the hotspot-dev mailing list