forked from mono/mono
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[marshal] Emit GC Safe transitions around foreign icalls.
A foreign icall is added using mono_add_internal_call and that is not coop GC aware. (The runtime uses mono_add_internal_call_with_flags or mono_add_internal_call_internal) Under hybrid suspend, foreign icalls will run in GC Safe mode and transition to GC Unsafe only when the call back into the runtime or invoke managed code. Fixes mono#11138
- Loading branch information
1 parent
0f0c55d
commit 6cff137
Showing
1 changed file
with
20 additions
and
0 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