RFR: 8327964: Simplify BigInteger.implMultiplyToLen intrinsic
Roger Riggs
rriggs at openjdk.org
Mon Mar 18 17:35:27 UTC 2024
On Tue, 12 Mar 2024 10:44:54 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:
> Moving array construction within BigInteger.implMultiplyToLen intrinsic candidate to its caller simplifies the intrinsic implementation in JIT compiler.
src/java.base/share/classes/java/math/BigInteger.java line 1836:
> 1834:
> 1835: if (z == null || z.length < (xlen+ ylen))
> 1836: z = new int[xlen+ylen];
Spaces before and after "+" please. Tnx
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18226#discussion_r1528984661
More information about the core-libs-dev
mailing list