DTrace User Guide

The jstack() function

void jstack(int nframes, int strsize)
void jstack(int nframes)
void jstack(void)

The jstack() action is an alias for ustack() that uses the value specified by the jstackframes option for the number of stack frames. The jstack action uses the value specified by the jstackstrsize option to determine the string space size. The jstacksize action defaults to a non-zero value.