We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Repro:
static void Main() { new Thread(() => { var src = new int[10_000_000]; for (;;) Array.Sort(src); }).Start(); for (;;) { Console.WriteLine("GC start"); GC.Collect(); Console.WriteLine("GC end"); Thread.Sleep(1); } }
Result: The GC takes very long time - if it finishes at all.
The text was updated successfully, but these errors were encountered:
The fix should be to either make the Sort fully managed (preferred) or to add GC polls to the current unmanaged implementation.
Related: https://github.com/dotnet/coreclr/issues/27106 Related: dotnet/coreclr#24419
Sorry, something went wrong.
stephentoub
Successfully merging a pull request may close this issue.
Repro:
Result: The GC takes very long time - if it finishes at all.
The text was updated successfully, but these errors were encountered: