Move the number of active worker threads out of WorkGang

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc

      WorkGang::_active_workers stores the current number of active workers for a given work gang. This value is repeatedly set from outside.

      It seems better to move this member out of the basic WorkGang, as the "optimal" number of threads for a given task highly depends on the task itself. (I.e. maybe into AbstractGangTask)

            Assignee:
            Unassigned
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: