Integrated: 8266936: Add a finalization JFR event

Markus Grönlund mgronlun at
Mon Oct 18 16:55:56 UTC 2021

On Thu, 8 Jul 2021 19:47:26 GMT, Markus Grönlund <mgronlun at> 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 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

This pull request has now been integrated.

Changeset: 72a976ef
Author:    Markus Grönlund <mgronlun at>
Stats:     1917 lines in 36 files changed: 1375 ins; 409 del; 133 mod

8266936: Add a finalization JFR event

Reviewed-by: coleenp, mchung, egahlin



More information about the hotspot-runtime-dev mailing list