RFR: 8290079: Reduce interaction with volatile in static initializer of BigInteger [v2]

Roger Riggs rriggs at openjdk.org
Wed Jul 13 15:50:10 UTC 2022


On Wed, 13 Jul 2022 15:32:18 GMT, Сергей Цыпанов <duke at openjdk.org> wrote:

>> `BigInteger.powerCache` is volatile and should be assigned only once in static initializer.
>
> Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8290079: Rename local var

LGTM

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

Marked as reviewed by rriggs (Reviewer).

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


More information about the core-libs-dev mailing list