Date: Sun, 2 Mar 2008 21:00:30 +0100 From: Anders Nordby <anders@FreeBSD.org> To: Ronald Klop <ronald-freebsd8@klop.yi.org> Cc: freebsd-java@freebsd.org Subject: Re: jstack Message-ID: <20080302200029.GA23384@fupp.net> In-Reply-To: <op.ttlva0y98527sy@guido.klop.ws> References: <op.ttlva0y98527sy@guido.klop.ws>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Anders.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080302200029.GA23384>