RFR: 8294982: Implementation of Classfile API [v43]

Adam Sotona asotona at openjdk.org
Wed Mar 8 08:39:03 UTC 2023


On Tue, 7 Mar 2023 16:06:17 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> `Long:numberOfLeadingZeros` implementation uses more method calls, conditional statements and binary operations. I would prefer to stick with the current implementation for its speed and simplicity.
>
> `numberOfLeadingZeros` is an intrinsic, so it will compile down to a machine instruction. Up to you.

Oh, I've changed it, thanks.

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

PR: https://git.openjdk.org/jdk/pull/10982



More information about the build-dev mailing list