Don't use workers()->total_workers() when walking G1CollectedHeap::_task_queues

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc
    • b68

        _task_queues is created with ParallelGCThreads, but workers()->total_workers() is used when iterating over the set.

        I propose that we expose the size of the taskqueue set and use that instead.

              Assignee:
              Stefan Karlsson
              Reporter:
              Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: