[jdk25u-dev] Integrated: 8373485: JFR Crash during sampling: assert(jt->has_last_Java_frame()) failed: invariant

Roland Mesde duke at openjdk.org
Mon Jan 26 15:40:10 UTC 2026


On Tue, 13 Jan 2026 22:54:17 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8373485: JFR Crash during sampling:  assert(jt->has_last_Java_frame()) failed: invariant.
> 
> The fix adds the missing memory barrier to ensure proper load ordering when sampling native threads.
> 
> For parity with Oracle JDK.
> 
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> make test TEST="jdk_jfr"
> 
> Results attached:
> 
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/24649832/linux-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/24649833/linux-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/24649834/macos-aarch64-specific-test.log)
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/24649835/windows-x64-specific-test.log)

This pull request has now been integrated.

Changeset: 6c1dfb38
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/6c1dfb38050152b0afe18badf2c960b710ff3ce0
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

Backport-of: 543a972222118155e4c72c6f2d32d154c5dfd442

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

PR: https://git.openjdk.org/jdk25u-dev/pull/145


More information about the jdk-updates-dev mailing list