RFR: JDK-8302736: Major performance regression in Math.log on aarch64

Tobias Hartmann thartmann at openjdk.org
Fri May 12 06:57:45 UTC 2023


On Thu, 11 May 2023 15:08:52 GMT, Tobias Holenstein <tholenstein at openjdk.org> wrote:

> Why is this only now being seen to be a problem?

@dholmes-ora I think people usually don't compare performance between different architectures (macOS/Aarch64 vs. Linux/Aarch64) or when turning the intrinsic(s) on/off. That's why this was only noticed when comparing Math vs. StrictMath performance. Actually, @tobiasholenstein found some similar issues when comparing Math vs. StrictMath performance for other methods (also on x86_64). This will be investigated separately.

I agree that it's a mess and that we need a better approach for the WXWrite in general. But I would prefer to have this as point fix for the performance issues that we can potentially backport and investigate a general solution with [JDK-8307817](https://bugs.openjdk.org/browse/JDK-8307817).

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

PR Comment: https://git.openjdk.org/jdk/pull/13606#issuecomment-1545264524


More information about the hotspot-dev mailing list