Console dumps

Console dumps are very basic dumps, in which the status of every Java™ thread is written to stderr.

In this example, the range=1..1 suboption is used to control the amount of output to just one thread start (in this case, the start of the Signal Dispatcher thread).

java -Xdump:console:events=thrstart,range=1..1 -Xgcpolicy:metronome -version

JVMDUMP006I Processing dump event "thrstart", detail "" - please wait.
---- Console dump --------

Stack Traces of Threads:


ThreadName=Signal Dispatcher(00000001101B3B00)
Status=Running

ThreadName=main(000000011011FA18)
Status=Waiting
Monitor=00000001101A6438 (Thread public flags mutex)
Count=0
Owner=(0000000000000000)
In com/ibm/misc/SystemIntialization.lastChanceHook()V
In java/lang/System.completeInitialization()V
In java/lang/Thread.<init>(Ljava/lang/String;Ljava/lang/Object;IZ)V  

^^^^^^^^ Console dump ^^^^^^^^ 
JVMDUMP013I Processed dump event "thrstart", detail "". 

Two threads are displayed in the dump because the main thread does not generate a thrstart event.



© Copyright IBM Corporation 2005, 2010. All Rights Reserved.
© Copyright Sun Microsystems, Inc. 1997, 2007, 901 San Antonio Rd., Palo Alto, CA 94303 USA. All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
This information center is powered by Eclipse technology. (http://www.eclipse.org/)