Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8266936

Add a finalization JFR event

XMLWordPrintable

    • jfr
    • b20

      Use of finalizers has long been discouraged, in favor of other resource management techniques such as try-with-resources and java.lang.ref.Cleaner. Object.finalize() was deprecated in Java 9 (JDK-8165641).

      A JFR event, either generated whenever a finalizer is called, or by some alternative means to detect what code is still using finalizers would be helpful.

            mgronlun Markus Grönlund
            bchristi Brent Christian
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: