On Tue, 6 Jun 2023 07:30:26 GMT, David Holmes <dhol...@openjdk.org> wrote:

> Just a passing comment but I happened to notice today that when a virtual 
> thread blocks on a legacy synchronization mechanism, it delegates to its 
> carrier thread to report its state. It is not at all clear to me how this is 
> handled at the JVMTI level.

When mounted, the virtual thread state comes from its carrier. JVM TI 
GetThreadState and other functions that return state do the same. Somehow the 
bulk function GetThreadListStackTraces was missed.

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

PR Comment: https://git.openjdk.org/jdk/pull/14326#issuecomment-1578097719

Reply via email to