JDK-8278901 : Parallel: Investigate impact of card size on card scanning work distribution
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18,19
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-12-16
  • Updated: 2021-12-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
Parallel distributes card scanning work on fixed chunks of memory, sizing them on a fixed number of cards (128, see PSCardTable::scavenge_contents_parallel), calling out a work unit of 64k.

With configurable card sizes this work unit automatically adjusts.

Investigate if there is a sizable impact on performance by that, and whether it would be useful to base the work unit on (area) size, not number of cards.

G1 should not be affected by changes to card size in that respect because it uses a fraction of heap region size.