jstack

Anders Nordby anders at FreeBSD.org
Sun Mar 2 20:00:32 UTC 2008


Hi!

This is an old email, but I figured I would answer and give my comments
anyway.

I agree very much that tools like jmap/jstack would be very handy when
debugging Java programs. I hope the Java porters one day would fix it.
:-)

In the mean time, I just discovered that you can get a thread dump by
sending SIGQUIT (kill -3 <pid>) to a running Java process. This output
can be analyzed by IBMs jva, http://www.alphaworks.ibm.com/tech/jca. At
least I was told it should work on analyzing data from Sun based JDKs
also.

Let me know if this was useful to anyone.

Thanks and regards,
Anders.

On Fri, Jun 08, 2007 at 03:48:26PM +0200, Ronald Klop wrote:
> I hard would it be to make jstack usable on FreeBSD? It is a very nice  
> debug tool. Does it involve a lot of native C code or is it mainly Java  
> code?
> 
> Ronald.
> 
> -- 
>  Ronald Klop
>  Amsterdam, The Netherlands
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"


-- 
Anders.


More information about the freebsd-java mailing list