JDK 18 |
---|
18 b20Fixed |
Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8276079 :
|
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.
|