RFR: 8359870: JVM crashes in AccessInternal::PostRuntimeDispatch [v5]
Alex Menkov
amenkov at openjdk.org
Fri Jun 27 20:32:42 UTC 2025
On Fri, 27 Jun 2025 09:35:07 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> But null from JNIHandles::resolve(jthread) is the earliest problem I found.
>
> I'm redoing with the cv_internal_thread_to_JavaThread usage...
>
> A little concerned that ThreadsListHandle::cv_internal_thread_to_JavaThread takes jobject jthread, our ref to a java.lang.Thread, and uses also calls 811 oop thread_oop = JNIHandles::resolve_non_null(jthread);
JNIHandles::resolve(jthread) can return null only if jthread == nullptr, this should not be possible
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25958#issuecomment-3014285704
More information about the hotspot-dev
mailing list