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

duke duke at openjdk.org
Mon Jan 26 15:35:40 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)

@rm-gh-8 
Your change (at version cf7caf2854b610ffad83a9bf675a01ab5875cb9c) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/145#issuecomment-3800221044


More information about the jdk-updates-dev mailing list