-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Add GC Unsafe thread state transitions to MONO_API functions - Fourth Edition #9630
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d9790b9
[appdomain] MONO_API mono_domain_set needs GC Unsafe
lambdageek 630b22f
[runtime] MONO_API mono_domain_set_config needs GC Unsafe
lambdageek e36c883
[runtime] MONO_API mono_dllmap_insert sometimes needs GC Unsafe
lambdageek c328977
[runtime] MONO_API mono_g_hash_table_insert needs GC Unsafe
lambdageek 05b1a3a
[runtime] MONO_API mono_g_hash_table_new_type needs GC Unsafe
lambdageek aa53f7d
[runtime] MONO_API mono_gc_reference_queue_new needs GC Unsafe
lambdageek eb18bbb
[runtime] mono_thread_detach_if_exiting thread state change
lambdageek 089e23c
[metadata] Make mono_class_get_fields external only
lambdageek c1520a1
[runtime] MONO_API mono_gc_reference_queue_add needs GC Unsafe
lambdageek 21e31f9
[metadata] Make mono_class_get_name and namespace external only
lambdageek 4a81fa9
[metadata] MONO_API mono_class_get_parent needs GC Unsafe
lambdageek 2ec29b5
[metadata] Make mono_class_is_delegate external only
lambdageek 68f2f3d
[metadata] Make mono_class_is_valuetype external only
lambdageek a2e0419
[metadata] Make mono_class_is_enum external only
lambdageek 4838456
[metadata] Mark mono_class_get_element_class external only
lambdageek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
why not
m_class_get_fields?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.
Not sure what you're asking:
m_class_get_*namespace just for simple field accessorsm_class_get_fields- it directly returns a pointer to an array ofMonoClassFieldelements;mono_class_get_fieldsis an iterator.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.
Ah okay. I noticed this inconsistency: usually it's something like
mono_class_get_namespace-> GC_UNSAFE wrapper +m_class_get_name_spacehere the pattern is different
mono_class_get_fields-> GC_UNSAFE wrapper +mono_class_get_fields_internal???I guess the problem is that
mono_class_get_fieldsshould be reallymono_class_get_fielditeratoror something like that, but I understand we can't easily change that name. With your explanation it makes sense.