Integrated: 8351146: JFR: JavaMonitorInflate event should default to no threshold and be disabled
Aleksey Shipilev
shade at openjdk.org
Tue Mar 11 15:31:05 UTC 2025
On Tue, 4 Mar 2025 11:03:03 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: 0ad9a104
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0ad9a104e2fed2dd80494cec22e9d9332d37821b
Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
8351146: JFR: JavaMonitorInflate event should default to no threshold and be disabled
Reviewed-by: coleenp, egahlin
-------------
PR: https://git.openjdk.org/jdk/pull/23891
More information about the hotspot-jfr-dev
mailing list