Details
-
Bug
-
Status: Resolved
-
P4
-
Resolution: Won't Fix
-
9
-
None
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
- relates to
-
JDK-8141239 Throwable should use StackWalker API to capture the backtrace
-
- Open
-
-
JDK-8246206 Thread.getStackTrace has performance linear in the number of threads
-
- Open
-
- links to
-
Review openjdk/jdk/6292