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

Jit selective optimization #1515

Draft
wants to merge 6 commits into
base: unity-main
Choose a base branch
from
Draft

Conversation

UnityAlex
Copy link
Collaborator

Draft PR mostly so I can look at the diff currently

  • Should this pull request have release notes?
    • Yes
    • No
  • Do these changes need to be back ported?
    • Yes
    • No
  • Do these changes need to be upstreamed to mono/mono or dotnet/runtime repositories?
    • Yes
    • No

Reviewers: please consider these questions as well! ❤️

UnityAlex and others added 6 commits June 21, 2021 15:40
* Exposed mono_unity_set_debug to allow the editor to inform mono that it is in debug mode which tells "all" assemblies to jit with sequence points
* mini_method_compile will jit with optimizations disabled if the image has should_optimize set to false always
…n for assemblies we choose while in debug mode instead of forcing the disable of optimizations when in debug mode.
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