-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pulled from #91029 - Add `FinalizerStartSeg`, `FinalizerMaxSeg`, and `MaxSeg` to make some of the code resilient to changes in the layout of the finalization queue. Also make `WalkFReachableObjects` resilient to layout changes. - Add `FreeListSeg` as redundant entry for `FreeList` - The free list section is a segment; it just has its boundary stored differently. In #91029 it will be moved to the middle of the queue. - This provides a convenient audit point for all references to `FreeList` for #91029. The ones that are renamed here should be independent of the queue layout. - #91029 will remove `FreeList` when the other uses are updated. - Add case for `SegQueueLimit` of last segment. Add helper `UsedCount`. - Fix `GetNumberFinalizableObjects` to include critical finalizers, though this method isn't called anywhere today. - Add `const int INITIAL_FINALIZER_ARRAY_SIZE = 100;`
- Loading branch information
Showing
3 changed files
with
68 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters