What is the reason for the core dump generated by J9 VM on linux platform, it just shows/contains only one thread (i.e current thread)?
Note: It is complete core dump(not truncated).
(gdb) info threads
* 1 Thread 0x7f33544d9700 (LWP 6471) 0x00007f335484d6e4 in j9dump_create () from ./app/was/IBM/WebSphere/AppServer/java/jre/lib/amd64/compressedrefs/libj9prt24.so
This is by design (in bold below):
If you want all the threads, you may use
gcore ${PID}or -Xdump:tool cleverly and executegcore %pid.IBM proposed a kernel API to create a core dump but it was rejected for security reasons (DoS). There is some experimentation with user-land core dumping.