RFR: 8319935: Ensure only one JvmtiThreadState is create for one JavaThread associated with attached native thread

David Holmes dholmes at openjdk.org
Tue Nov 14 03:13:30 UTC 2023


On Mon, 13 Nov 2023 21:52:22 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:

> Please review JvmtiThreadState::state_for_while_locked change to handle the state->get_thread_oop() null case. Please see https://bugs.openjdk.org/browse/JDK-8319935 for details.

Is this a case where the code should be checking for `is_attaching_via_jni()`?

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

PR Review: https://git.openjdk.org/jdk/pull/16642#pullrequestreview-1728674210


More information about the serviceability-dev mailing list