This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Finalizers in GC?

 
Joe Harry
Ranch Hand
Posts: 10091
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

We say that our program should never rely on finalizer blocks....so why is that we override finalizer blocks?? What is the true meaning of overriding finalize?? Anyone on this?
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best description of Object.finalize() I have seen is in the API for class Object. If you read it carefully, I believe it will answer your questions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic