[jdk21u-dev] RFR: 8371889: [21u] JFR: Deadlock in ThrowableTracer [v2]

Erik Gahlin egahlin at openjdk.org
Fri Jan 9 18:39:13 UTC 2026


On Mon, 29 Dec 2025 09:02:55 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

>> This change initializes the event configurations (known as event handlers in earlier JDKs) early, in order to avoid potential deadlocks (see [description in the issue](https://bugs.openjdk.org/browse/JDK-8371889)).
>> 
>> JDK 21 is the last JDK where this is relevant, that code has been completely reworked in JDK 22 (e.g. [JDK-8319374](https://bugs.openjdk.org/browse/JDK-8319374)).
>> 
>> Testing:
>>  - [x] jdk/jfr
>>  - [x] tier1
>
> Roman Kennke has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Merge branch 'master' into JDK-8371889
>  - 8371889: Deadlock in ThrowableTracer

Marked as reviewed by egahlin (Committer).

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

PR Review: https://git.openjdk.org/jdk21u-dev/pull/2483#pullrequestreview-3645131612


More information about the jdk-updates-dev mailing list