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

Evgeny Astigeevich github.com+42899633+eastig at openjdk.java.net
Mon Jun 21 11:34:32 UTC 2021


On Wed, 9 Jun 2021 19:48:52 GMT, Evgeny Astigeevich <github.com+42899633+eastig at openjdk.org> wrote:

> 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 pull request has now been integrated.

Changeset: cbe9c1b5
Author:    Evgeny Astigeevich <eastig at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/cbe9c1b5546583bf9347a22742a8cb31c3359e50
Stats:     60 lines in 11 files changed: 20 ins; 23 del; 17 mod

8213137: Remove static initialization of monitor/mutex instances

Moved to the global mutex list in mutexLocker

Reviewed-by: phh, simonis
Backport-of: eac28d7fae86069abae1704179b93d770af93f5c

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

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


More information about the jdk-updates-dev mailing list