RFR: 8351146: JFR: JavaMonitorInflate event should default to no threshold and be disabled [v2]
Aleksey Shipilev
shade at openjdk.org
Thu Mar 6 10:55:36 UTC 2025
> There is a threshold for inflate event. But the operation that is covered by that event is very fast, and often lock-free, so the threshold would filter many events. This would be important as we add deflation event ([JDK-8351142](https://bugs.openjdk.org/browse/JDK-8351142)), which should match inflations.
>
> The only way I see this event be longer than default threshold of 10ms is transiently waiting for another thread to complete inflation.
>
> Additional testing:
> - [x] Linux x86_64 server fastdebug, `jdk_jfr` still passes
Aleksey Shipilev 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 three additional commits since the last revision:
- Disable JavaMonitorInflate and put the low default threshold
- Merge branch 'master' into JDK-8351146-jfr-monitor-thresholds
- Fix
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23891/files
- new: https://git.openjdk.org/jdk/pull/23891/files/f0156c68..9b5ba84d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23891&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23891&range=00-01
Stats: 10214 lines in 310 files changed: 5879 ins; 2446 del; 1889 mod
Patch: https://git.openjdk.org/jdk/pull/23891.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23891/head:pull/23891
PR: https://git.openjdk.org/jdk/pull/23891
More information about the hotspot-jfr-dev
mailing list