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

API to detect all monitors locked/waited-on by any given thread

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 1.4.2, 5.0
    • core-svc

      A DESCRIPTION OF THE REQUEST :
      Issue #4593133 is supposed to include this RFE and it was recently closed as fixed, however it was *not* completely fixed. The entire point of programmatically getting thread-dumps is so we can detect deadlocks, yet the RFE was fixed without providing this functionality. So I will ask explicitly:

      We require an API such that the thread-dump API provides us a way to get the list of all monitors locked by a given thread and/or the monitors it is waiting on. The point here is that until we can programmatically reproduce the exact same thread-dump output as produced by the JVM when we hit CTRL-C, this issue won't be closed.

      JUSTIFICATION :
      Need to be able to programmatically manipulate thread-dump output. Among other things, I personally need it to produce and manipulate thread-dumps in remote process-spaces.
      ###@###.### 2005-1-07 21:13:32 GMT

            mchung Mandy Chung (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: