A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
finalize() method - a few questions and doubt
Jason Mills
Greenhorn
Joined: Aug 22, 2006
Posts: 8
posted
Aug 29, 2006 09:37:00
0
I am referring to 2 minutes drill points on finalize() from K & B ..."you can uneligibilize the object for GC from within the finalize() method"
since there is NO guarantee that this method will ever run,
A) why do you want to do this?
B) Let us I want to do this, can you tell me the situation where you want to do this?
I am now refering to second point in "Tricky litle finalize() Gotcha's
A) I quite did not get it, can you please eloborate?
Thanks a lot
wise owen
Ranch Hand
Joined: Feb 02, 2006
Posts: 2023
posted
Aug 29, 2006 11:00:00
0
Object finalization and cleanup
Jason Mills
Greenhorn
Joined: Aug 22, 2006
Posts: 8
posted
Aug 29, 2006 14:25:00
0
very helpful information.
Thanks
I agree. Here's the link:
http://aspose.com/file-tools
subject: finalize() method - a few questions and doubt
Similar Threads
finalize method question!!!
GC problem, MindQ #37
finalize method-- W Brogden's Mock
Garbage Collection Q
Garbge collector !!!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter