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. (Not a reviewer) While the change doesn't hurt, I doubt that access to a (static) volatile in a static initializer is ever contended. ------------- PR: https://git.openjdk.org/jdk/pull/9451