I'm trying to generate thread dump on a standalone JVM. I believe the application has some native code well. I tried using both jstack(jstack -J-d64 -m 8916
) and kill -3 both options doesn't seem to work.
Uname Linux bedid01b 2.6.18-194.17.4.el5 #1 SMP Wed Oct 20 13:03:08 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux*
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
Thanks in advance.
This can fail if the application has locked up. It a fairly serious error state to be in, but using JNI can make this more likely.
I would suggest you try Java 6 update 24, which has a much newer JVM (more than a year)