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(30118C60)
Status=Running

ThreadName=main(301181B0)
Status=Waiting
Monitor=30298BD0 (Thread public flags mutex)
Count=0
Owner=(314F1900)
In com/ibm/oti/vm/BootstrapClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
In sun/reflect/ReflectionFactory.checkInitted()V
In sun/reflect/ReflectionFactory.newMethodAccessor(Ljava/lang/reflect/Method;)Lsun/reflect/MethodAccessor;
In java/lang/reflect/Method.acquireMethodAccessor()V
In java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
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/)