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

[draft] hot reload WIP #66455

Closed
wants to merge 31 commits into from

Conversation

lambdageek
Copy link
Member

Checking that I didn't break anything...

@lambdageek lambdageek added NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) area-EnC-mono Hot Reload for WebAssembly, iOS/Android, etc labels Mar 10, 2022
@ghost ghost assigned lambdageek Mar 10, 2022
@lambdageek
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

lambdageek and others added 8 commits March 16, 2022 19:23
Change the iterator from storing MonoMethod** values to storing an iteration count.
For added methods, when the iteration count is more than
mono_class_get_method_count, run through the hot reload added_members list and
iterate over any relevant methods
Use GSList to simplify the concurrency story for accessing added_fields (and
added_props and added_events, eventually): unlike a GPtrArray it won't resize,
so we don't need to lock readers.

Add a from_update bit to MonoProperty and MonoEvent - when props or events are
added to existing classes, they will have the bit set.  That means that pointer
arithmetic to figure out the prop (or event) tokens won't be usable (since
they're not allocated in one big block).
@lambdageek lambdageek force-pushed the hack-add-reloadable-types branch from c4bb01b to ec35642 Compare March 16, 2022 23:55
@lambdageek lambdageek closed this Mar 17, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-EnC-mono Hot Reload for WebAssembly, iOS/Android, etc NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant