RFR: 8359870: JVM crashes in AccessInternal::PostRuntimeDispatch [v5]
David Holmes
dholmes at openjdk.org
Thu Jun 26 00:40:28 UTC 2025
On Wed, 25 Jun 2025 21:24:13 GMT, Kevin Walls <kevinw at 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
More information about the serviceability-dev
mailing list