Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8141239

Throwable should use StackWalker API to capture the backtrace

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • None
    • core-libs
    • Cause Known

      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.

            bchristi Brent Christian
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: