Parallel: Remove workers number checking in constructor of PSAdjustTask

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: hotspot
    • gc
    • b17

      The if checking is not necessary, because thread-claiming logic still works fine for a single worker. `StrongRootsScope` is another site which changes thread-claim-token, and that treat all positive number of workers uniformly.

      if (nworkers > 1) {
        Threads::change_thread_claim_token();
      }

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: