RFR: 8290079: Reduce interaction with volatile in static initializer of BigInteger
Jaikiran Pai
jpai at openjdk.org
Tue Jul 12 06:26:47 UTC 2022
On Mon, 11 Jul 2022 12:41:48 GMT, Сергей Цыпанов <duke at openjdk.org> wrote:
> `BigInteger.powerCache` is volatile and should be assigned only once in static initializer.
The change looks fine to me. Please wait for at least another review from someone more familiar with this area, before merging.
-------------
Marked as reviewed by jpai (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9451
More information about the core-libs-dev
mailing list