This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Mark Anderson writes:I'm curious - why is this so difficult? I think Sun's implementation shows what locks are held by each thread, along with the stack trace, which might be tricky. However, I don't see why plain old thread dumps would be so hard given that we can already unwind through signal handlers. Note that there is a enhancement request for this:
> Is there any way to get a thread dump from a running GCJ application in the > same way you can send a kill -3 signal to the Sun JVM?
No, there isn't, and it would be extremely hard to do. Whan we have a problem like this, we attach gdb to the process.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |