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

Thread.dumpStack() can use StackWalker

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P4
    • None
    • 9
    • core-libs

    Description

      Unlike Throwable, Thread.dumpStack() is used purely for troubleshooting and not performance critical. Therefore, Thread.dumpStack() could use the StackWalker API to output the stack trace, instead of constructing a throw-away Exception.

      Attachments

        Issue Links

          Activity

            People

              jpai Jaikiran Pai
              bchristi Brent Christian
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: