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

Roman Kennke rkennke at openjdk.org
Mon Dec 29 09:02:55 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/2483/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/2483/files/0a088bfb..f20d2cad

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2483&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2483&range=00-01

  Stats: 9761 lines in 255 files changed: 4086 ins; 4117 del; 1558 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2483.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2483/head:pull/2483

PR: https://git.openjdk.org/jdk21u-dev/pull/2483


More information about the jdk-updates-dev mailing list