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

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -