What is a thread dump, java core dump ?

Questions by kirankumar samudrala   answers by kirankumar samudrala

Showing Answers 1 - 24 of 24 Answers

Preetham R Enjamuri

  • Jan 17th, 2012
 

It tells us all the active threads of a process (application)

  Was this answer useful?  Yes

Suji

  • May 11th, 2012
 

Thread dump is used to know how many threads in a connection pool and how many threads in Deadlock state. And Heap dump is used when Sufficient memory is not available for new objects and it shows all the information about referenced & unreferenced objects.

  Was this answer useful?  Yes

Sunil

  • Nov 5th, 2012
 

Thread dump: it gives the information about the hung threads in Java Virtual Machine(JVM)
Java Core dump:It is the snapshot of all running process in JVM,Based on this information we could resolve some following issue

High CPU usage
JVM crash
Why the performance is degrading

  Was this answer useful?  Yes

subrat

  • Nov 22nd, 2012
 

When applications threads are hung or staked or application is not working ,u should generate the thread dump and analysis using thread dump tool and detect which thread is hunged or any dead lock is generated or not.
When Out of memory issue will come(when assigned max memory of the JVM is fully utilized) , the WebSphere will automatically generated the heap dump.For testing u can manually generate the heap dump.

  Was this answer useful?  Yes

P.Rajesh

  • Nov 23rd, 2012
 

These dumps will generate to resolve the Hung threads (these threads occur because of Deadlocks (these one is mostly related to Database team, dead lock is nothing but a thread(s) waiting for an resource) Heap dump is to resolve out of heap memory issues these one will occur when heap memory or native memory is not sufficient, fragmentation, memory leaks in developing code

  Was this answer useful?  Yes

santha

  • Dec 4th, 2012
 

Thread Dump is different and Core Dump is different.

1) When the server is hung due to many causes (like, burden of requests more at a time), that time only generate Thread dumps.

2) Core Dump is related to Application, if there is any problem in Application Architecture and code related errors are going to generate in the Core Dump.

  Was this answer useful?  Yes

stephen

  • Aug 8th, 2016
 

A thread dump is a snapshot of the state of all threads that are part of the process. The state of each thread is presented with a so called stack trace, which shows the contents of a threads stack. Some of the threads belong to the Java application you are running, while others are JVM internal threads.
For analyzing thread dumps fastthread . io

  Was this answer useful?  Yes

ketrym

  • Sep 25th, 2016
 

A thread dump contains all the running threads, a core dump is essentially a JVM memory dump

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions