RFR: 8319973: AArch64: Save and restore FPCR in the call stub

Andrew Haley aph at openjdk.org
Tue Nov 14 09:53:40 UTC 2023


On AArch64 we don't save and restore the default floating-point control state when we enter and leave Java code. We really should, because if we're called via the JNI invocation interface with a weird FP control state we'll not be Java compatible.

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

Commit messages:
 - Correct mistaken change
 - 8319973: AArch64: Save and restore FPCR in the call stub

Changes: https://git.openjdk.org/jdk/pull/16637/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16637&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319973
  Stats: 34 lines in 4 files changed: 28 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/16637.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16637/head:pull/16637

PR: https://git.openjdk.org/jdk/pull/16637


More information about the hotspot-dev mailing list