On Wed, 25 Jun 2025 21:24:13 GMT, Kevin Walls <kev...@openjdk.org> wrote:

> Line number info puts it in the _java_thread == null branch of: 
> threadService.cpp 
> 1317 vframeStream vfst(_java_thread != nullptr 
> 1318 ? vframeStream(_java_thread, false, true, vthread_carrier) 
> 1319 : vframeStream(java_lang_VirtualThread::continuation(_thread_h()))); <---
> 
> And it's looking inside the Handle _thread_h() within 
> GetThreadSnapshotClosure which was setup by get_thread_snapshot, and it's a 
> null pointer,

But `_thread_h()` has already been used a number of times before we get here 
and if it were null we should have crashed long ago. ???

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

PR Comment: https://git.openjdk.org/jdk/pull/25958#issuecomment-3006621489

Reply via email to