On Solaris 10, running 'pstack' against our JVMs (java version "1.5.0_17") can take as long as 60 seconds to complete. During that time apparently, the JVM is unable to do anything else. This causes applications to crash. So they said to me, "Please write a DTrace pstack."
Using the syscall provider, I can print out the PID and TID and then a nice jstack() every time a system call is made by the PID, but that shows only the stack for the LWP that ran the system call. That's not what 'pstack' does. I want to stop the process, and then walk through each LWP and generate a stack trace. Can I do this in DTrace? Anyone? Thanks. -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org