Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@joshpeterson
Copy link
Contributor

The mono_field_static_get_value method uses a handle, but did not set up
enter/exit macros properly, so this handle was leaked.

Some code in Unity calls this embedding API method pretty often, which
can lead to the mark stack overflowing in the GC code.

The mono_field_static_get_value method uses a handle, but did not set up
enter/exit macros properly, so this handle was leaked.

Some code in Unity calls this embedding API method pretty often, which
can lead to the mark stack overflowing in the GC code.
@joshpeterson
Copy link
Contributor Author

I've opened a PR to dotnet/runtime for this same change: dotnet/runtime#64061

@lambdageek
Copy link
Member

/backport to 2020-02

@github-actions
Copy link
Contributor

Started backporting to 2020-02: https://github.com/mono/mono/actions/runs/1725036661

@joshpeterson
Copy link
Contributor Author

@lambdageek: I'm unsure about the cause of the failed checks - they don't seem to be related. Can we merge this?

@lambdageek lambdageek merged commit 95229aa into mono:main Jan 24, 2022
ThomasKuehne pushed a commit to ThomasKuehne/mono that referenced this pull request Mar 23, 2024
The mono_field_static_get_value method uses a handle, but did not set up
enter/exit macros properly, so this handle was leaked.

Some code in Unity calls this embedding API method pretty often, which
can lead to the mark stack overflowing in the GC code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants