Use concurent garbage Collector is Default in VS2019?

batmacibatmaci DEMember ✭✭✭✭✭

I have just created a new xamarin.forms app and when i check the android settings for release

So Use concurent garbage Collector is default now? what are the advantages of it and can we rely on it?

Answers

  • LucasZhangLucasZhang Member, Xamarin Team Xamurai
    edited June 3
    1. Concurrent garbage collection does not suspend other threads, but thread scheduling code suspends threads, if there are not enough CPU cores.

    2. Having a concurrent garbage collection benefit is for UI applications, not blocked UI, a responsive UI.

    3. If you don't have enough CPU cores, and if you have lots of threads or applications on the same machine, process scheduling and thread scheduling will decrease performance.

Sign In or Register to comment.