When an object becomes unreachable, it is flagged as collected by
the garbage collector. If it has a finalize() method, it is marked
for finalization and put in a finalization queue. After
finalization, it becomes finalized. If it does not have a finalize() method,
it is directly marked as finalized without being inserted in
the finalization queue.
Showing posts with label Java Finalize Method. Show all posts
Showing posts with label Java Finalize Method. Show all posts
March 20, 2014
Subscribe to:
Posts (Atom)