RFR: 8290079: Reduce interaction with volatile in static initializer of BigInteger [v2]
Joe Darcy
darcy at openjdk.org
Wed Jul 13 16:55:19 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
Version with renamed local variable looks fine.
-------------
Marked as reviewed by darcy (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9451
More information about the core-libs-dev
mailing list