-
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.
[wasm] Redesign of managed objects marshaling and lifecycle (#56538)
file cycle of JS owned C# instances is driven by FinalizationRegistry - got rid of Runtime._weakDelegateTable and Runtime._rawToJS - got rid of JSObject.WeakRawObject and JSObject.RawObject - GCHandle instead of JSObject double proxy for plain managed ref types - GCHandle instead of int sequence for delegates + redesign of invocation - GCHandle for task + redesign of invocation - improved in-flight retention of thenable/promise and Task - explicitly delegate type of parameter for EventListener - moved and renamed some binding functions - renamed all handles to jsHandle or gcHandle as appropriate - removed jsHandle math - cleanup of unused functions - improved error messages for invalid handles - more unit tests
- Loading branch information
1 parent
4803ce2
commit e49b9bd
Showing
12 changed files
with
688 additions
and
600 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
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
Oops, something went wrong.