On Mon, 11 Jul 2022 12:41:48 GMT, Сергей Цыпанов <d...@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.tsypa...@yandex.ru> Committer: Joe Darcy <da...@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