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

Move the number of active worker threads out of WorkGang

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9
    • 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)

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

              Created:
              Updated: