Parallel: Simplify CLD roots claim in Full GC cycle

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 19
    • Component/s: hotspot
    • gc
    • b08

      `SequentialSubTasksDone` is used to claim tasks:

      ```
          for (uint task = 0; _subtasks.try_claim_task(task); /*empty*/ ) {
            mark_from_roots_work(static_cast<ParallelRootType::Value>(task), worker_id);
          }
      ```

      However, there's actually only one task here, `ParallelRootType::class_loader_data`, and CLD has its own internal claiming mechanism.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: