Mike Marchywka wrote:
> How do you determine reference counts? If a JVM refuses to
> GC your G, what do you do? I've run into this with Graphics
> objects on some OS/JVM combinations. What group should I turn
> to for this info?
>
> In the case of servlets, what would continue to reference them once
> they are supposed to terminate?
> [...]
Hi :-) some Servlet containers will "keep" the instance-object(s) of
MyServlet class for a while or a long time before destroy them, if so,
it is not strange that those instance-object(s) are not GCed.
from a book: "Java Platform Performance"(ISBN: 0-201-70969-4)
around P193, there is a discussion about "invisible, unreachable..."
of GC, please read that book.
another related-topic is how to interrupt/terminate a background thread in
container(because I guess several GC problems has relation with Thread) ,
please see the following link:
http://www.distributopia.com/servlet_stuff/background_threads.txt
another :-)
- HAT: Heap Analysis Tool
% http://java.sun.com/people/billf/heap/index.html
% other...
- "Ctrl+Break" to find thread-statusInfo in dos-prompt of windows
Bo
July 02, 2001
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html