Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 12, 2021

Backport of #58978 to release/6.0

/cc @lambdageek

Customer Impact

Fixes #58957

User programs on ios devices that use System.Text.Json to serialize large structs may crash during CC.

Corrects a GC hole introduced by #58364 which was a fix for #58190.

Testing

CI and manual testing.

Risk

Low. The logic is the same, except instead of using dynamic heap allocation we use alloca to heap allocate the return vlaue buffer.

lambdageek and others added 2 commits September 12, 2021 23:07
Fixes #58957
Related to #58215 which was attempting to
fix #58190
In the common case we use the return buffer just to hold a pointer to
the return value
@ghost
Copy link

ghost commented Sep 12, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@Anipik Anipik merged commit 8fe648d into release/6.0 Sep 13, 2021
@jkotas jkotas deleted the backport/pr-58978-to-release/6.0 branch September 18, 2021 04:09
@ghost ghost locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants