Difference between javacore, thread dump and heap dump in Websphere

后端 未结 5 1953
悲哀的现实
悲哀的现实 2021-01-30 02:01

Can someone tell me the exact difference between javacore, thread dump and heap dump? Under which situation each of these are used??

5条回答
  •  走了就别回头了
    2021-01-30 02:44

    Thread dumps are javacore show snapshot of threads running in JVM, it is useful to debug hang issues, it will provide info about java level dead locks and also IBm version of javacores provides much more useful information, such as heap usage, CPU usage of each thread and overall heap usage along with number of classes laded by the JVM.

    Heapdumps, provides information about Java heap usage by an JVM, which can be used to debug memory leaks. Heapdumps are generated by IBM JVMs when a JVM is runs into outofmemoryerror, Heapdumps are only for heap leaks in java, native out of memory error may result system dumps usually with an "GPF" General protection Fault.

提交回复
热议问题