Integrated: 8373485: JFR Crash during sampling: assert(jt->has_last_Java_frame()) failed: invariant
Markus Grönlund
mgronlun at openjdk.org
Tue Jan 13 11:48:07 UTC 2026
On Sun, 11 Jan 2026 12:39:06 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.
This pull request has now been integrated.
Changeset: 543a9722
Author: Markus Grönlund <mgronlun at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/543a972222118155e4c72c6f2d32d154c5dfd442
Stats: 11 lines in 1 file changed: 7 ins; 0 del; 4 mod
8373485: JFR Crash during sampling: assert(jt->has_last_Java_frame()) failed: invariant
Reviewed-by: shade, egahlin
-------------
PR: https://git.openjdk.org/jdk/pull/29155
More information about the hotspot-jfr-dev
mailing list