Integrated: 8297505: Declare fields in some sun.security.pkcs11 classes as final
Per Minborg
pminborg at openjdk.org
Mon Dec 12 21:56:51 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.
This pull request has now been integrated.
Changeset: c3bc4fcb
Author: Per Minborg <pminborg at openjdk.org>
Committer: Valerie Peng <valeriep at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c3bc4fcb3d0a8bd2eb308fae90a4cb865b216cb8
Stats: 25 lines in 10 files changed: 0 ins; 0 del; 25 mod
8297505: Declare fields in some sun.security.pkcs11 classes as final
Reviewed-by: valeriep
-------------
PR: https://git.openjdk.org/jdk/pull/11346
More information about the security-dev
mailing list