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

Allow NamedThreads to use GlobalCounter critical sections

XMLWordPrintable

    • b09
    • generic
    • generic

        GlobalCounter critical sections are restricted to JavaThreads and the VMThread, because those are the kinds of threads for which we have a visitation protocol. There are a number of use-cases for critical sections in various GC threads, all of which are blocked by this limitation of GlobalCounter.

        To solve this, we need a way for GlobalCounter to visit (iterate over) all NamedThreads. And there are other use-cases for visiting all NamedThreads.

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: