On Fri, 27 Jun 2025 09:35:07 GMT, Kevin Walls <kev...@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

Reply via email to