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

Backport of upstream 100509 #263

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Conversation

alexey-zakharov
Copy link

@alexey-zakharov alexey-zakharov commented Apr 2, 2024

Apply upstream PR dotnet#100509 as a proper fix of collectable empty arrays issue

And revert an initial fix which helped us to unblock some PRs on a main branch

alexey-zakharov and others added 2 commits April 2, 2024 11:47
dotnet#100444)

* Fix allocation of empty array in the frozen heap for collectible types (dotnet#100437)

* Remove Optimize from csproj

* Add test for generic with static

* Apply suggestions from code review

* Better test

* Disable tests on Mono

---------

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
(cherry picked from commit 78f7707)
@alexey-zakharov alexey-zakharov marked this pull request as ready for review April 2, 2024 09:53
@alexey-zakharov alexey-zakharov merged commit edb575d into unity-main Apr 2, 2024
2 checks passed
@alexey-zakharov alexey-zakharov deleted the backport-upstream-100509 branch April 2, 2024 13:15
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.

3 participants