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

Avoid GC transitions when they are not needed. #1753

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

joncham
Copy link
Member

@joncham joncham commented Apr 20, 2023

If hybrid or coop is not supported by the build, it will never be needed at runtime by the generated native/icall wrappers. This improves performance of native wrappers.

  • 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! ❤️

Release notes

Improved @joncham:
Mono: Improved performance of managed to native transitions.

Backports
2022.3 (if we want performance improvement)

If hybrid or coop is not supported by the build, it will never be needed
at runtime by the generated native/icall wrappers. This improves
performance of native wrappers.
@joncham joncham self-assigned this Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants