-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sgen] Use new MonoClassKind MONO_CLASS_GC_FILLER in mono_class_creat…
…e_array_fill_type (#46366) The array fill type MonoClass is used to populate the vtable of sgen nursery free space. Previously we used a static MonoClass that was zero-initialized. To make it easier to spot pointers to freed nursery memory, initialize the class_kind to a new constant MONO_CLASS_GC_FILLER. Check for the new value explicitly in class-accessors.c
- Loading branch information
1 parent
5078dd6
commit b994723
Showing
3 changed files
with
25 additions
and
8 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