Skip to content
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] refactor metadata update code #85177

Merged
merged 17 commits into from
Apr 24, 2023

Conversation

fanyang-mono
Copy link
Member

No description provided.

lambdageek and others added 11 commits March 3, 2023 15:35
allow generic type definitions to can contain added members
Instead of using a for-loop, use an interator that will also pick up
added methods from hot reload.

There's an issue here compared to the old code: the old code could
cope with MonoClass:methods containing null pointers.  But the
iterator approach signals that iteration is finished by returning
NULL.

Need to check whether the old code is reachable on modern .NET
This function shouldn't expect to see generic instances
Copy link
Member

@lambdageek lambdageek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. but needs a few minor fixes

src/mono/mono/component/hot_reload.c Show resolved Hide resolved
src/mono/mono/component/hot_reload.c Show resolved Hide resolved
src/mono/sample/HelloWorld/Makefile Outdated Show resolved Hide resolved
@lambdageek
Copy link
Member

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

fanyang-mono and others added 4 commits April 21, 2023 15:36
Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
@fanyang-mono
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lambdageek
Copy link
Member

All failures are known.

@lambdageek lambdageek merged commit 018a9bd into dotnet:main Apr 24, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants