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

Guarantee in run_task(task, num_workers) fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b126

      While working on a fix for 8157373, the guarantee

        guarantee(num_workers <= active_workers(),
                  "Trying to execute task %s with %u workers which is more than the amount of active workers %u.",
                  task->name(), num_workers, active_workers());

      in

      WorkGang::run_task(AbstractGangTask* task, uint num_workers)

      fails because _active_workers is not updated after call to calc_parallel_marking_threads().

            jmasa Jon Masamitsu (Inactive)
            jmasa Jon Masamitsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: