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

Incremental gc editor support #1114

Merged
merged 6 commits into from
Jan 2, 2019
Merged

Conversation

jechter
Copy link

@jechter jechter commented Jan 2, 2019

Changes required to run the editor in incremental gc mode:

-Fix some missing write barriers which get hit on domain reload
-Add an API to disable incremental GC at runtime (to make it possible to switch the setting without requiring an editor restart)
-Make sure that mono_w32process_signal_finished is called even if GC is disabled (otherwise we deadlock in validation mode, as there is no finalizer thread, and child processes are never reported as exited)
-We cannot use gc descriptors in child domains when using BoehmGC, as that crashes the GC when the child domain is unloaded. This was always the case, but mono code used mono_gc_is_moving to check for Boehm, which is no longer correct, so we now use an ifdef.

@jechter jechter requested a review from joncham January 2, 2019 14:50
@jechter jechter merged commit c9e69e0 into unity-master Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants