JDK-4283071 : (thread) print stack trace for hung threads
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 1.2.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1999-10-20
  • Updated: 2005-10-25
  • Resolved: 2005-10-25
Related Reports
Duplicate :  
Description
Name: skT88420			Date: 10/20/99


Currently there is "static void dumpStack()" which prints the
stack of the current thread. It will be nice if there is
non static method that can be used for printing stack for
other threads. Such a method can especially useful in a fault
tolerant system for debugging/logging hung threads.
(Review ID: 96781) 
======================================================================

Comments
EVALUATION Thread.getStackTrace and getAllStackTraces are part of Java SE 5.0.
25-10-2005

WORK AROUND Name: skT88420 Date: 10/20/99 none ======================================================================
11-06-2004

EVALUATION This would be a useful debugging option. An analogous method allowing programmatic access (ala Thread.getStackTrace) might also be useful. ###@###.### 2002-04-26
26-04-2002