Re: refresh makes "unknown" threads disappear

Nathan Fiedler <[email protected]> 21 Apr 2003 09:57:05 -0700
Newsgroups gmane.comp.java.jswat.user
Organization ACCESS Systems America
Message-ID <[email protected]>
I think it is safe to say that if JSwat reports that the threads are not
there anymore, then they are definitely gone. As with nearly everything
in JSwat, that panel is built directly from the information reported by
the Java Debug Interface. The JDI gets its information from the debuggee
JVM and if it says those threads are not there, it means the threads
have died.

On the other hand, JSwat was not designed for detecting resource leaks.
There are much better tools for that (JProbe and OptimizeIt come to
mind) sort of thing.

Good luck.

n


On Mon, 2003-04-21 at 09:07, Nuno Oliveira wrote:
> Hello,
> 
> All the threads with the Unknown status disappear from the threads pane
> whenever I make a refresh. Can I be sure that they are no longer taking up
> resources in the JVM ? I mean, can I be sure that all threads in  the VM are
> those actually showing up in the pane ? I'm using the debugger to check this
> kind of memory leaks. would anyone advise against this practise or recomend
> a better approach ? 
> 
> Thanks.
> Nuno