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

Dmitry Samersoff dsamersoff at openjdk.java.net
Sat Jun 19 15:25:23 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

Marked as reviewed by dsamersoff (Reviewer).

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

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


More information about the hotspot-compiler-dev mailing list