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

Throwable should use StackWalker API to capture the backtrace

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Understanding:
      Cause Known

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bchristi Brent Christian
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: