JDK-8177970 : Release Note: Deprecate Object.finalize
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2017-04-03
  • Updated: 2017-09-22
  • Resolved: 2017-04-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Description
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.