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

Allow NamedThreads to use GlobalCounter critical sections

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b09
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: