I have both - Server GC and Background GC threads in the same app in a timeline profiling. Is it real?
I did Timeline profiling of my WPF app. I just realised - there are both - BGC and Server GC threads in the results. Is it real? How is it possible for a .NET app to run both?
Please sign in to leave a comment.
Yes, it is real. BGC stands for background GC as opposed to non-concurrent GC. Also, you have server GC and workstation GC modes. So there are 4 possible modes. See https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/background-gc#background-workstation-vs-server-gc for more information.
yes i know. but i always thought they are mutually exclusive.. but if you saying the result is correct - then is fine. Thanks for the help