1 .TH j_profile.d 1m "$Date:: 2007-10-03 #$" "USER COMMANDS"
3 j_profile.d - sample stack traces with Java translations using DTrace.
6 This samples stack traces for the process specified. This stack trace
7 will cross the JVM and system libraries, and insert translations for Java
8 stack frames where appropriate. This is best explained with an example
14 Func_loop.main([Ljava/lang/String;)V
16 libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHan
17 libjvm.so`__1cCosUos_exception_wrapper6FpFpnJJavaValue_pnMmetho
18 libjvm.so`__1cJJavaCallsEcall6FpnJJavaValue_nMmethodHandle_pnRJ
19 libjvm.so`__1cRjni_invoke_static6FpnHJNIEnv__pnJJavaValue_pnI_j
20 libjvm.so`jni_CallStaticVoidMethod+0x15d
22 libc.so.1`_thr_setup+0x52
26 The lines at the top are Java frames, followed by the JVM (libjvm.so).
27 The JVM symbols may be translated by passing the output through c++filt.
31 Evolving - uses the DTrace hotspot provider, which may change
32 as additional features are introduced. Check Java/Readme
33 to see what version these scripts are based on.
42 See the DTraceToolkit for further documentation under the
43 Examples, Notes and Docs directories. The example files may be
44 especially useful as they aim to demonstrate how to interpret
47 j_profile.d will run until Ctrl-C is hit.