RFR: 8364314: java_lang_Thread::get_thread_status fails assert(base != nullptr) failed: Invalid base [v2]

David Holmes dholmes at openjdk.org
Sun Aug 3 21:40:04 UTC 2025


On Wed, 30 Jul 2025 16:08:09 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> David Holmes has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>> 
>>  - Remove from ProblemList
>>  - Merge branch 'master' into 8364314-threadSMR
>>  - 8364314: java_lang_Thread::get_thread_status fails assert(base != nullptr) failed: Invalid base
>
> src/hotspot/share/services/threadService.cpp line 1483:
> 
>> 1481:       // Note: this java_thread may not be protected by the ThreadsListHandle above,
>> 1482:       // but as we have disabled transitions, if we are mounted on it, then it can
>> 1483:       // not terminate and so is safe to handshake with.
> 
> Perhaps:
> 
>       // Note: The java_thread associated with this carrier_thread may not be
>       // protected by the ThreadsListHandle above. There could have been an
>       // unmount and remount after the ThreadsListHandle above was created
>       // and before the JvmtiVTMSTransitionDisabler was created. However, as
>       // we have disabled transitions, if we are mounted on it, then it cannot
>       // terminate and so is safe to handshake with.

Applied

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26544#discussion_r2250144301


More information about the hotspot-runtime-dev mailing list