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

Active thread count (ActiveThreadCount) off by 1

XMLWordPrintable

    • 0.9internal
    • sparc
    • generic
    • Not verified

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: