Integrated: 8352414: JFR: JavaMonitorDeflateEvent crashes when deflated monitor object is dead

Aleksey Shipilev shade at openjdk.org
Tue Mar 25 08:23:16 UTC 2025


On Wed, 19 Mar 2025 17:47:00 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Little regression crept in with [JDK-8351142](https://bugs.openjdk.org/browse/JDK-8351142): on the deflation path, object associated with monitor can be already dead. 
> 
> A new stress test fails within seconds without a fix. It also covers other monitor events, so we have extra coverage there as well.
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, new stress test now passes
>  - [x] Linux x86_64 server fastdebug, `jdk_jfr`

This pull request has now been integrated.

Changeset: 17dc30c5
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/17dc30c54e90a339783b7da6ef282a2206205653
Stats:     177 lines in 4 files changed: 169 ins; 3 del; 5 mod

8352414: JFR: JavaMonitorDeflateEvent crashes when deflated monitor object is dead

Reviewed-by: dholmes, mgronlun

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

PR: https://git.openjdk.org/jdk/pull/24121


More information about the hotspot-dev mailing list