JDK-8272977 : G1: Improve evacuation failure for regions with many objects
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-08-25
  • Updated: 2021-11-30
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 :  
Relates :  
Description
JDK-8254739 started storing the exact locations of objects that failed evacuation in lists; this is useful and faster than just iterating over the whole region object-by-object trying to find those that failed evacuation.

After a certain amount of failed objects in a region, this mechanism is more costly (in time and space) than just giving up and falling back to something else (like iterating over all objects).

This situation is supposed to be more frequent with pinned regions, so more urgent to investigate then.

Investigate implementing this or an alternative algorithm to do that. 
Comments
Thanks Thomas for creating this.
26-08-2021