RFR: 8308776: [AArch64] Math.log is 10% slower than StrictMath.log on aarch64

Joe Darcy darcy at openjdk.org
Wed Nov 19 02:10:22 UTC 2025


On Wed, 19 Nov 2025 01:38:40 GMT, Dean Long <dlong at openjdk.org> wrote:

> If it was explained somewhere why Math.log is 10% slower than StrictMath.log, I missed it. I would naively assume that Math.log can use the StrictMath.log implementation and get the same performance.

Yes, the methods in StrictMath are a legal implementation of the corresponding methods in Math.

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

PR Comment: https://git.openjdk.org/jdk/pull/28306#issuecomment-3550343344


More information about the hotspot-dev mailing list