RFR: 8297505: Declare fields in some sun.security.pkcs11 classes as final
Valerie Peng
valeriep at openjdk.org
Wed Nov 30 20:05:03 UTC 2022
On Thu, 24 Nov 2022 08:13:58 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> This PR proposes declaring some fields as `final` to potentially unlock performance optimisations and improve thread visibility (e.g. for GC threads). The PR also fixes a "synchronising on a non-final field" anti-pattern.
I will take a look.
-------------
PR: https://git.openjdk.org/jdk/pull/11346
More information about the security-dev
mailing list