RFR: 8359870: JVM crashes in AccessInternal::PostRuntimeDispatch [v5]

David Holmes dholmes at openjdk.org
Mon Jun 30 11:24:28 UTC 2025


On Fri, 27 Jun 2025 20:22:12 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> I believe null here is not result of `_thread_h()`, but is returned by `java_lang_VirtualThread::continuation(...)` because `_thread_h` is lava.lang.Thread object and not java.lang.VirtualThread.

That could only happen if we are dealing with a terminated regular thread - which we should never do here if the TLH is used correctly and we only ever pass live threads to `do_thread`, or else the null which means "unmounted virtual thread".

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

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


More information about the hotspot-dev mailing list