Integrated: 8306027: Clarify JVMTI heap functions spec about virtual thread stack.

Alex Menkov amenkov at openjdk.org
Tue May 9 21:17:33 UTC 2023


On Tue, 25 Apr 2023 22:22:55 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.

This pull request has now been integrated.

Changeset: f5a6b7f7
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f5a6b7f7c03c00c96d0055f9be31057675205e13
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

8306027: Clarify JVMTI heap functions spec about virtual thread stack.

Reviewed-by: alanb, sspitsyn

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

PR: https://git.openjdk.org/jdk/pull/13661


More information about the hotspot-dev mailing list