-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable mark list optimization if we hit a per region mark list overflow #86508
Conversation
Tagging subscribers to this area: @dotnet/gc Issue DetailsFixes microsoft/FASTER#835 In case the mark list is overflowed when we
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix looks fine but please consider not duplicating code in plan_phase
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Your solution has the property that once we hit a mark list overflow for one region, we will not use the mark list for any other region, even if it is possible. Given that this is such a rare case anyway, it doesn't seem worthwhile fixing.
2812a50
to
e23f73d
Compare
this actually compiles? |
e23f73d
to
c82a4fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Fixes microsoft/FASTER#835
In case the mark list is overflowed when we
get_region_mark_list
, we have to disable the optimization, otherwise, we will miss marking live objects and cause heap corruption.