On Thu, 24 Nov 2022 08:13:58 GMT, Per Minborg <pminb...@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 <pminb...@openjdk.org> Committer: Valerie Peng <valer...@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