(When) Does the Xamarin.iOS garbage collector stop the whole application?

Viewed 678

The Xamarin Cross-Platform Performance Documentation states:

When SGen starts a garbage collection, it will stop the application’s threads while it reclaims memory.

I'm wondering about a few details:

  • I very much assume this applies to Xamarin.iOS? Is this correct?
  • Does this apply to the whole application? That is, also the unmanaged side?
    • Is the native ui thread stopped as well?
    • Are unmanaged threads stopped as well? E.g. threads created by a native library which is wrapped via P/Invoke?
  • Do all collections (minor and major) stop the threads? Or does this only apply to major collections?
  • Just in case: Has the behaviour changed in the last year?
1 Answers
Related