jstack - Stack Trace for Sun Java Real-Time System

SYNOPSIS

jstack [ option ] executable core

PARAMETERS

Options are mutually exclusive. Option, if used, should follow immediately after the command name. See OPTIONS.
executable
Java executable from which the core dump was produced.

core
core file for which the stack trace is to be printed.

DESCRIPTION

jstack for Sun Java Real-Time System (Java RTS) prints Java stack traces of Java RTS threads for a given core file. The type of thread (java.lang.Thread, RealtimeThread, or NoHeapRealtimeThread) is printed in the output. For each Java frame, the full class name, method name, 'bci' (byte code index) and line number, if available, are printed. With the -m option, jstack prints both Java and native frames of all threads along with the 'pc' (program counter). For each native frame, the closest native symbol to 'pc', if available, is printed. C++ mangled names are not demangled. To demangle C++ names, the output of this command may be piped to c++filt.

NOTE - This utility is unsupported and may or may not be available in future versions of Java RTS.

OPTIONS

-m
prints mixed mode (both Java and native C/C++ frames) stack trace.

-h
prints a help message.

-help
prints a help message

SEE ALSO

KNOWN BUGS

None


Copyright © 2008, Oracle Corporation and/or its affiliates

sun.com