• Careers
  • News & Events
  • Blog
Mzos - IT Training Institute
Download Brochure
facebook linkedin twitter youtube
callmzos
Menu
  • Contact Us
  • Contact Us

Knowledge Center

HomeKnowledge CenterOracle recommends axing Java object finalizer

Oracle recommends axing Java object finalizer

: Published on 10/04/2026

       

Java’s Object.finalize capability is on the chopping block, deemed more trouble than it’s worth. But expect it to stick around for a while.
Deprecation has been proposed for Java Development Kit (JDK) 9, Oracle said. Oracle recommends that the capability no longer be used and a warning will be issued. Initially, Object.finalize won't be deprecated for removal, so at the earliest, it could be dropped in Java SE 11. With JDK 9 due this July and JDK 10 presumably in the mix, the capability could still be available for several years.


A part of Java since the nearly 22-year-old language was founded, the Object.finalize method provides object cleanup operations before an object is discarded. However, the timing is unpredictable, with no guarantee the finalizer will be called, according to Oracle.
The use of a finalizer is in fact “problematic,” said Oracle’s Roger Riggs in a recent post to an openjdk mailing list proposing deprecation. A finalizer can lead to performance issues, hangs, and deadlocks. “The problems have been accumulating for many years and the first step to deprecate Object.finalize and the overrides in the JDK to communicate the issues, recommend alternatives, and motivate changes where finalization is currently used.” 

Source :- http://www.infoworld.com

Back

Mzos Reviews

Technology Partner

matrix finishing school.png
Java.png
share point.png
Microsoft ASP .net.png
android.png
php.png
specialization training program.png
linux.png
Microsoft.png
Oracle.png

News & Events

Articles

Five Best Programming Languages for First-Time Learners

By:      18 Apr 2017, Tuesday

If you're thinking of learning to code, the language you decide to pick up first has a lot to do...

Oracle’s Java-on-Java experiment gathers momentum

By:      11 Apr 2017, Tuesday

A recent presentation detailed progress and future plans for implementing Java on Java...

view all

Site Navigation

  • Home
  • Staffing
  • Partners
  • Knowledge Center
  • News & Events
  • Training
  • Consulting
  • Mzos Gallery

Quick Contact

Matrix Zero One Systems

Govind Building, Plot 7C, Shree Ganeshkrupa Society, Lane No 13 D, S.N. 91/1, Kothrud, Pune-38. Landmark: Vanaj Corner, Subway Lane, Shikshak Nagar Last Bus Stop.

Phone : 9588495684

E-mail : [email protected]