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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 7
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: