Details

Description

Backtrace of a Throwable is currently captured by the VM built-in stack walking code. The StackWalker API can be used to replace the VM backtrace implementation. The VM built-in backtrace logic has been tuned for performance. The performance criteria should be identified and which benchmarks to compare the performance.

In addition, we need to look into a reliable way to fill in the backtrace during VM startup and also what to do when StackWalker throws any exception.