On Tue, 22 Jul 2025 21:55:56 GMT, Alex Menkov <amen...@openjdk.org> wrote:

> I still think that it would be safer to explicitly specify that caller knows 
> that jthread can be virtual thread 

I think that retains the risk of the caller not knowing they need to ensure 
they protect the carrier thread.

> Do you want to update ThreadSnapshotFactory::get_thread_snapshot to utilize 
> new functionality

No, we had some internal discussions and that code is incorrectly using the 
JVMTI transition disabler, so it needs a complete overhaul. That will be 
handled separately.

Thanks again for looking at this in depth Alex.

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

PR Comment: https://git.openjdk.org/jdk/pull/26287#issuecomment-3105187899

Reply via email to