Integrated: 8290079: Reduce interaction with volatile in static initializer of BigInteger
Сергей Цыпанов
duke at openjdk.org
Wed Jul 13 19:41:08 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.
This pull request has now been integrated.
Changeset: c83fcbd1
Author: Sergey Tsypanov <sergei.tsypanov at yandex.ru>
Committer: Joe Darcy <darcy at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c83fcbd18fff4d10c4162c43ddcdf3a51ce2c8e6
Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
8290079: Reduce interaction with volatile in static initializer of BigInteger
Reviewed-by: jpai, rriggs, darcy
-------------
PR: https://git.openjdk.org/jdk/pull/9451
More information about the core-libs-dev
mailing list