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

Parallel: Simplify CLD roots claim in Full GC cycle

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • 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.

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

              Created:
              Updated:
              Resolved: