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

Set LOH threshold for chunked resizearray to be smaller to avoid LOH allocations #8027

Merged
merged 2 commits into from
Dec 22, 2019

Conversation

cartermp
Copy link
Contributor

Fixes #7983

@cartermp cartermp requested a review from TIHan December 19, 2019 22:47
src/absil/illib.fs Outdated Show resolved Hide resolved
@cartermp cartermp closed this Dec 19, 2019
@cartermp cartermp reopened this Dec 19, 2019
@TIHan
Copy link
Contributor

TIHan commented Dec 20, 2019

I think the only thing that should be changed here is the max chunk size, instead of 84_900, do 80_000. Roslyn does this for very large source text: http://sourceroslyn.io/#Microsoft.CodeAnalysis/Text/LargeText.cs,c126f77d711f5b91,references

@TIHan TIHan merged commit 57b7206 into dotnet:master Dec 22, 2019
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
…allocations (dotnet#8027)

* Set LOH threshold for chunked resizearray to be smaller to avoid LOH allocations

* Update illib.fs
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.

TcSymbolUseData array LOH allocations
3 participants