RFR: 8365581: Optimize Java implementation of P256 arithmetic
Ferenc Rakoczi
duke at openjdk.org
Thu Aug 21 16:43:28 UTC 2025
On Fri, 15 Aug 2025 14:50:23 GMT, ExE Boss <duke at openjdk.org> wrote:
> > I see you are inlining some modulus values manually. You can mark the arrays as `@Stable` and check what performance gain can you have as a result, because then C2 can treat these values as constants and generate more optimal computations.
>
> That works for everything except the zeroes in `oneActual`, `modulus`, and `zero`.
What do you mean by "works"? And why doesn't it work for the zeroes?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26792#issuecomment-3206736648
More information about the security-dev
mailing list