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

Active thread count (ActiveThreadCount) off by 1

    Details

    • Subcomponent:
    • Resolved In Build:
      0.9internal
    • CPU:
      sparc
    • OS:
      generic
    • Verification:
      Not verified

      Description

      The internal thread counter, ActiveThreadCount, is getting incremented twice for
      the primordial thread. This is not thought to currently cause problems in the code
      that uses the variable (sysThreadEnumerate() and sysThreadEnumerateOver())
      because they terminate on either reaching the number *or* finding the nil thread
      queue terminator. The miscount is obvious in the source of sysThreadBootstrap() in threads_md.c.

        Attachments

          Activity

            People

            • Assignee:
              tlindholsunw Timothy Lindholm (Inactive)
              Reporter:
              tlindholsunw Timothy Lindholm (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: