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

(thread) ThreadGroup accounting mistake possible with failure of Thread.start()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 6
    • core-libs
    • b21
    • generic
    • generic
    • Not verified

      Eliminating the "duplicate state" variable Thread.started creates the scenario in which an OOM from the VM thrown out by Thread.start followed by invoking start a second time can result in duplicate Thread references being present in ThreadGroup (e.g. making ThreadGroup.activeCount return a too-high value).

            chegar Chris Hegarty
            psoper Pete Soper (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: