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

Parallel: Simplify CLD roots claim in Full GC cycle

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 19
    • 19
    • hotspot
    • gc
    • b08

    Description

      `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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: