My Oracle Support Banner

How to Obtain a Thread Dump (Stack Traces) from a Java Process or a Core File of a Java Process on Solaris (Doc ID 1239486.1)

Last updated on MARCH 31, 2023

Applies to:

Java SE JDK and JRE - Version 1.4.2 and later
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on x86-64 (64-bit)

Goal

You want to obtain a Thread Dump (a Stack Trace for each thread) from a Java process or a core file of a Java process on Solaris.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Overview
 Details
 jstack
 pstack
 kill -QUIT
kill -3
 Ctrl+\
 JConsole
 Java VisualVM (jvisualvm)
 mdb
 dbx
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.