RFR: 8266936: Add a finalization JFR event [v17]
Coleen Phillimore
coleenp at openjdk.java.net
Fri Oct 15 18:16:55 UTC 2021
On Fri, 15 Oct 2021 09:27:54 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
>> Greetings,
>>
>> Object.finalize() was deprecated in JDK9. There is an ongoing effort to replace and mitigate Object.finalize() uses in the JDK libraries; please see https://bugs.openjdk.java.net/browse/JDK-8253568 for more information.
>>
>> We also like to assist users in replacing and mitigating uses in non-JDK code.
>>
>> Hence, this changeset adds a periodic JFR event to help identify which classes are overriding Object.finalize().
>>
>> Thanks
>> Markus
>
> Markus Grönlund has updated the pull request incrementally with two additional commits since the last revision:
>
> - renames
> - spelling
Thanks for doing the renames. Looks good!
-------------
Marked as reviewed by coleenp (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4731
More information about the core-libs-dev
mailing list