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

Guarantee in run_task(task, num_workers) fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b126

      Description

      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().

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: