RFR: 8358556: Assert when running with -XX:-UseLibmIntrinsic

Mohamed Issa duke at openjdk.org
Fri Jun 6 20:48:01 UTC 2025


This change fixes unwanted calls to the cbrt and tanh intrinsics on x86 when they are explicitly disabled by the _-XX:-UseLibmIntrinsic_ or _-XX:-InlineIntrinsics_ flags.

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

Commit messages:
 - Fix assertion failures for libm math intrinsics that don't have shared runtime implementations

Changes: https://git.openjdk.org/jdk/pull/25680/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25680&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8358556
  Stats: 12 lines in 1 file changed: 12 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/25680.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25680/head:pull/25680

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


More information about the hotspot-runtime-dev mailing list