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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -