Tao Kang wrote:
> No. You cannot force garbage collection.
No? What about java.lang.System.gc() ?
--
#################
Pedro Teixeira
USD
Link<-
Tao Kang wrote:
No. You cannot force garbage collection. However, you can make an
object to become 'subject to'
garbage collection by making it 'unreachable.' (assigning the reference
varaible to null, for example)
Because the garbage collector runs asynchronously to your program as a
separate thread, you cannot
predict when it will execute, which unreachable objects it will reclaim,
and when it will reclaim those
objects.
Tae
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html