[PATCH] remove redundant initialization of volatile fields with default values
Alan Bateman
Alan.Bateman at oracle.com
Fri Jun 19 07:53:11 UTC 2020
On 19/06/2020 05:57, Сергей Цыпанов wrote:
> Hello,
>
> while investigating an issue I've found out that assignment of default value to volatile fields slows down object instantiation.
>
Yes, there's been several efforts over the years to eliminate the
initializing volatile fields to their default values. It's good to keep
these in check. It's probably best to get a sponsor on the security-libs
list as all by one of these in the security code.
-Alan
More information about the core-libs-dev
mailing list