[jdk17] Integrated: 8267042: bug in monitor locking/unlocking on ARM32 C1 due to uninitialized BasicObjectLock::_displaced_header

Boris Ulasevich bulasevich at openjdk.java.net
Mon Jun 21 06:07:37 UTC 2021


On Fri, 18 Jun 2021 19:24:23 GMT, Boris Ulasevich <bulasevich at openjdk.org> wrote:

> Hi,
> 
> Could we have a review of this change?
> 
> The bug was discovered in ARM32 C1 monitor locking/unlocking: the
> displaced header is not initialized to the non-zero value which results in deadlock.
> 
> The issue was fixed in jdk18, and I want to have this P3 fix in jdk17 as well.
> 
> Thanks,
> Boris

This pull request has now been integrated.

Changeset: c294ae4f
Author:    Boris Ulasevich <bulasevich at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/c294ae4fed59c7e303416346cc4b189a48bc1ab1
Stats:     176 lines in 3 files changed: 172 ins; 0 del; 4 mod

8267042: bug in monitor locking/unlocking on ARM32 C1 due to uninitialized BasicObjectLock::_displaced_header

Co-authored-by: Chris Cole <chris at sageembedded.com>
Reviewed-by: dsamersoff

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

PR: https://git.openjdk.java.net/jdk17/pull/102


More information about the hotspot-compiler-dev mailing list