JDK-8339097 : Parallel: Compact GC to split array early for task stealing
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 24
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2024-08-27
  • Updated: 2024-08-29
  • Resolved: 2024-08-29
Related Reports
Duplicate :  
Relates :  
Description
Parallel Compact GC splits a large array in stripes during marking, so that other workers can steal the work.

Currently, it only splits a large array into two tasks, retains and pushes remaining into a task queue for task stealing, depends on next worker to further split the array if possible, that creates artificial dependency.

I would like purpose to have the first worker breaking up the array, to eliminate the dependency.

Comments
In favor to PartialArrayStat and PartialArrayStepper infra.
29-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20745 Date: 2024-08-28 12:49:46 +0000
29-08-2024