RFR: 8373485: JFR Crash during sampling: assert(jt->has_last_Java_frame()) failed: invariant [v2]
Aleksey Shipilev
shade at openjdk.org
Mon Jan 12 14:19:50 UTC 2026
On Mon, 12 Jan 2026 14:00:23 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
>> Greetings,
>>
>> When sampling threads in state _thread_in_native, there is a missing memory barrier when UseSystemMemoryBarrier is used, because it must be emitted manually.
>>
>> Testing: jdk_jfr
>>
>> Thanks
>> Markus
>>
>> PS "threads_lock" local variable was renamed to "lock" not to confuse with the global Threads_lock.
>
> Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:
>
> explicit fences
All right, that reads better, thanks.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29155#pullrequestreview-3650994267
More information about the hotspot-jfr-dev
mailing list