RFR: JDK-8265298: Hard VM crash when deadlock between "access" and higher ranked lock is detected [v3]
Patricio Chilano Mateo
pchilanomate at openjdk.java.net
Thu Apr 15 20:39:38 UTC 2021
On Thu, 15 Apr 2021 19:56:03 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Ah, you mean the test checks the attempt to wait! Right, let me fix that.
>
> Fixed. There is a wrinkle: `leaf` is not a `special` lock, so this test would make little sense. I replaced `leaf` with `tty` instead.
Fix looks good. I thought you wanted to check the other failure mode in wait() (the one where you have to wait on the least rank owned monitor).
-------------
PR: https://git.openjdk.java.net/jdk/pull/3524
More information about the hotspot-runtime-dev
mailing list