You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fail to get_free_region in thread_final_regions due to low memory for mark array might lead to AV. #74401
While our logic guarantee a free region is available in the free region list before thread_final_regions, in case we are running out of memory to commit for the mark array, the call to init_table_for_region called in get_free_region may fail and therefore return nullptr.
To reproduce the issue, we can run GCPerfSim with these parameters:
The process will fail at the spot. Without the check, the nullptr might be threaded into the generation, and will lead to bad consequences (such as an AV).
Activity
mangod9 commentedon Sep 21, 2022
moving to 8 for now.