RFR: 7514: Rule for FinalizationStatistics

Marcus Hirt hirt at openjdk.org
Mon Jan 16 18:30:58 UTC 2023


On Wed, 30 Nov 2022 13:24:50 GMT, Pierre-Yves Bigourdan <duke at openjdk.org> wrote:

> A new `jdk.FinalizerStatistics` JFR event was introduced in JDK 18. This pull requests adds a simple rule that makes use of it:
> ![Screenshot 2022-11-30 at 14 19 49](https://user-images.githubusercontent.com/10694593/204806915-0da90fe3-ccc0-430e-96f8-ebc529f8e7a1.png)

Changes requested by hirt (Lead).

core/org.openjdk.jmc.flightrecorder.rules.jdk/src/main/java/org/openjdk/jmc/flightrecorder/rules/jdk/general/FinalizersRunRule.java line 3:

> 1: /*
> 2:  * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
> 3:  *

Should add Datadog to the license header. See other headers where Datadog is included.

core/org.openjdk.jmc.flightrecorder.rules.jdk/src/main/java/org/openjdk/jmc/flightrecorder/rules/jdk/messages/internal/Messages.java line 3:

> 1: /*
> 2:  * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
> 3:  *

Here as well.

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

PR: https://git.openjdk.org/jmc/pull/456


More information about the jmc-dev mailing list