My Oracle Support Banner

How to Obtain a Thread Dump (Stack Traces) From a Java Process or Core File of a Java Process on Windows (Doc ID 1246024.1)

Last updated on NOVEMBER 04, 2018

Applies to:

Java SE JDK and JRE - Version 5.0 and later
Microsoft Windows x64 (64-bit)
Microsoft Windows x64 (64-bit) - OS Version: 7
Microsoft Windows (32-bit)
Microsoft Windows (32-bit) - OS Version: 7
Microsoft Windows x64 (64-bit) - Version: 2008 R2
Generic Windows

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 Windows.

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
 Ctrl+Break
 JConsole
 Java VisualVM (jvisualvm)
 WinDbg
 Collect a Thread Dump From Java Processes Running as a Windows Service
References

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