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

Hang after OutOfMemory exception and large number of threads

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      The situation that leads to the hang:
      Main thread creates the large number of threads till the creation throws OutOfMemory exception (7125 threads in my example). After the threads are started they stay on wait() on the same Object.
      If OutOfMemory exception is not cought, the java launcher hangs, it can not be stopped by Ctrl-C.
      Note:
      If the main thread stay on wait(), the launcher can be stoppped by Ctrl-C.
      If the main thread is exited correctly or by another exception, it is terminated without problems.

      ###@###.### 2005-06-08 15:29:21 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: