java - overriding finalize(), referencing object inside it -
what happens if override finalize() , give reference object. object ever garbage collected? other way clean object memory?
from javadoc:
the finalize method may take action, including making object available again other threads.
however:
the finalize method never invoked more once java virtual machine given object.
Comments
Post a Comment