This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: debugging threads vs processes
- To: "'Jonathan Olson'" <jpolsonaz at mac dot com>, Cedric Berger <cedric at wireless-networks dot com>
- Subject: RE: debugging threads vs processes
- From: "Boehm, Hans" <hans_boehm at hp dot com>
- Date: Fri, 13 Jul 2001 14:39:26 -0700
- Cc: "Boehm, Hans" <hans_boehm at hp dot com>, "'tromey at redhat dot com'" <tromey at redhat dot com>, Jeff Sturm <jsturm at one-point dot com>, Per Bothner <per at bothner dot com>, java-discuss at sources dot redhat dot com
> -----Original Message-----
> From: Jonathan Olson [mailto:jpolsonaz@mac.com]
> Personally, I can't see much point in having a separate `ps' or `top'
> entry for
> each thread entry, since all entries show exactly the same
> information
> except
> for the process ID.
I often find it very useful to know how many threads there are, and how many
of them are actually getting processor time and how much. Also zombies
among the threads tend to be bad news, though those should probably be
impossible in the absence of linuxthreads bugs or memory corruption.
I agree that a flag to display only processes would be nice.
Hans