[jdk11u-dev] RFR: 8213137: Remove static initialization of monitor/mutex instances

Evgeny Astigeevich github.com+42899633+eastig at openjdk.java.net
Wed Jun 9 20:02:32 UTC 2021


We are backporting JDK-8210832: Remove sneaky locking in class Monitor. It has a few dependencies. JDK-8213137: Remove static initialization of monitor/mutex instances is one of them.

The original patch from JDK-8213137 causes conflicts. The conflicts are because a patched file does not exist in jdk11u and git struggled to position changes. The original changes are not changed after resolution of the conflicts.

Testing: Amazon Linux 2, aarch64, tier1 and tier2. Amazon Linux 2, x86_64, tier1 and tier2.

This backport

-------------

Commit messages:
 - Backport eac28d7fae86069abae1704179b93d770af93f5c

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/21/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=21&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8213137
  Stats: 60 lines in 11 files changed: 20 ins; 23 del; 17 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/21.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/21/head:pull/21

PR: https://git.openjdk.java.net/jdk11u-dev/pull/21


More information about the jdk-updates-dev mailing list