Clears the current stack trace snapshot. Subsequent calls to {@link #printStackTrace(PrintWriter)} will be no-ops until another call to {@link #fillInStackTrace()}.
Takes a snapshot of the current call stack. Subsequent calls to {@link #printStackTrace(PrintWriter)} will print out that stack trace until it is {@linkplain #clear() cleared}.
Prints the current stack trace if available to a PrintWriter. The format is undefined and is primarily useful for debugging issues with {@link PooledObject} usage in user code.
Strategy for obtaining and printing the current call stack. This is primarily useful for {@linkplain UsageTracking usage tracking} so that different JVMs and configurations can use more efficient strategies for obtaining the current call stack depending on metadata needs.
@see CallStackUtils