GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
j_profile.d(1m) j_profile.d(1m)

j_profile.d - sample stack traces with Java translations using DTrace.

This samples stack traces for the process specified. This stack trace will cross the JVM and system libraries, and insert translations for Java stack frames where appropriate. This is best explained with an example stack frame output,

Func_loop.func_c()V Func_loop.func_b()V Func_loop.func_a()V Func_loop.main([Ljava/lang/String;)V StubRoutines (1) libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHan libjvm.so`__1cCosUos_exception_wrapper6FpFpnJJavaValue_pnMmetho libjvm.so`__1cJJavaCallsEcall6FpnJJavaValue_nMmethodHandle_pnRJ libjvm.so`__1cRjni_invoke_static6FpnHJNIEnv__pnJJavaValue_pnI_j libjvm.so`jni_CallStaticVoidMethod+0x15d java`JavaMain+0xd30 libc.so.1`_thr_setup+0x52 libc.so.1`_lwp_start 101

The lines at the top are Java frames, followed by the JVM (libjvm.so). The JVM symbols may be translated by passing the output through c++filt.

Solaris

Evolving - uses the DTrace hotspot provider, which may change as additional features are introduced. Check Java/Readme to see what version these scripts are based on.

# j_profile.d

See the DTraceToolkit for further documentation under the Examples, Notes and Docs directories. The example files may be especially useful as they aim to demonstrate how to interpret the output.

j_profile.d will run until Ctrl-C is hit.

Brendan Gregg [CA, USA]

dtrace(1M)

$Date:: 2007-10-03 #$ USER COMMANDS

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.