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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -