-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: core-libs
-
Verified
The `java.lang.Object.finalize` method has been deprecated.
The finalization mechanism is inherently problematic and can lead to performance issues, deadlocks, and hangs.
The `java.lang.ref.Cleaner` and `java.lang.ref.PhantomReference` provide more flexible and efficient ways to release resources when an object becomes unreachable.
For further information, please see the `java.lang.Object.finalize` method specification.
The finalization mechanism is inherently problematic and can lead to performance issues, deadlocks, and hangs.
The `java.lang.ref.Cleaner` and `java.lang.ref.PhantomReference` provide more flexible and efficient ways to release resources when an object becomes unreachable.
For further information, please see the `java.lang.Object.finalize` method specification.