Skip to content

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 <[email protected]>
(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 requested a review from joncham April 2, 2024 11:51
@alexey-zakharov alexey-zakharov merged commit edb575d into unity-main Apr 2, 2024
@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