-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[mono] generic wrapper methods for unsafe accessors #101732
Merged
Merged
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
81285fb
WIP HACK: always AOT wrappers, even for generics, not the actual acce…
lambdageek 3d59833
cleanup
lambdageek fbd3b89
checkpoint generic wrapper methods
lambdageek 34381f7
fix msvc build
lambdageek ecaff9e
hack
lambdageek 06be3b4
fix build
lambdageek 430f822
clean WIP printfs
lambdageek 5789ab7
use generic method owner caches
lambdageek 374c1e7
lookup unsafe accessor wrapper instances in aot-runtime
lambdageek db8cbad
cleanup marshaling - dont' use ctx as a flag
lambdageek f252a47
handle some generic field accessors
lambdageek e424b64
issues.targets: enable some unsafe accessor AOT tests
lambdageek 03c72f7
WIP: looks like methods are working too?
lambdageek 6fcefc6
[metadata] add ability to inflate wrapper data
lambdageek ccbd0ba
[marshal] refactor unsafe accessor; opt into inflate_wrapper_data
lambdageek 0c824fc
Merge remote-tracking branch 'origin/main' into hack-generic-wrappers
lambdageek 56516b2
comment out printfs
lambdageek 769ae55
inflate MonoMethod wrapper data; impl ctor generic unsafe accessors
lambdageek 9688f2b
fix windows build
lambdageek 70aaa2e
[aot] handle case of partial generic sharing for unsafe accessor
lambdageek e814387
[aot] for unsafe accessor wrappers with no name, record a length 0
lambdageek 03208db
[aot-runtime] try to fix gsharedvt lookup
lambdageek c244dd2
better comments; remove fied FIXMEs
lambdageek 2ff358b
update HelloWorld sample to support either normal AOT or FullAOT
lambdageek 25f9e99
revert HelloWorld sample code changes
lambdageek 0374f2b
rename helper methods
lambdageek 9786200
apply suggestions from code review
lambdageek ceb5345
DRY. compute inflate_generic_data in one place
lambdageek 342fe1d
Just do one loop for inflating generic wrapper data
lambdageek a667f53
better comments
lambdageek 0bf0f61
DRY. move common AOT code to mini.c
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 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.
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.
Nit: Consistency between
1
andTRUE
.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.
MonoMethodWrapper:inflate_wrapper_data
is a bitfield, so I use1
MonoMethodBuilder:inflate_wrapper_data
is a gboolean, so I useTRUE