Integrated: 8188046: java.lang.Math.mutliplyHigh does not run in constant time

Brian Burkhalter bpb at openjdk.java.net
Fri Jul 2 18:24:54 UTC 2021


On Thu, 1 Jul 2021 23:46:00 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Please consider this proposal to remove the fast path in `java.lang.Math.multiplyHigh()` the small performance improvement of which is eclipsed by the branch penalty.

This pull request has now been integrated.

Changeset: cb795893
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/cb795893be8e6dcf725d8022aca16f657d3cc03c
Stats:     25 lines in 1 file changed: 0 ins; 11 del; 14 mod

8188046: java.lang.Math.mutliplyHigh does not run in constant time

Reviewed-by: rriggs, darcy

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

PR: https://git.openjdk.java.net/jdk/pull/4660


More information about the core-libs-dev mailing list