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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

                Created:
                Updated:
                Resolved: