On Thu, 13 Jun 2024 14:37:45 GMT, Inigo Mediavilla Saiz <d...@openjdk.org> 
wrote:

> Would you mind explaining why unparking the main (virtual) thread can end up 
> with the main thread observing the dummy thread in transition ?

The unpark of main requires queueing the task for main. This can trigger a new 
FJP worker to be started and there are several points where it may park. For 
reason that are complicated to go into here, this happens in the context of the 
carrier. The thread dump at this point is seeing a mounted continuation but 
JavaThread._vthread is pointing to self temporarily.

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

PR Comment: https://git.openjdk.org/jdk/pull/19482#issuecomment-2166116062

Reply via email to