Default Garbage Collector for Mac?

I can't seem to figure out which GC is the default version for the Mac (Boehem or SGen?) I'm doing development in Debug Mode (where I don't include the Mono runtime in the application bundle) and I'm planning on packaging the Mono runtime in the application bundle for "Release" Mode.

I'm trying to determine if I should check the "Use the SGen Garbage Collector" box, because I'd like to be using the same garbage collector on the Debug & Release versions.

Posts

  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    By default, mono uses the Boehm GC.

  • DanSmith.1531DanSmith.1531 USMember ✭✭

    That's what I suspected, but I didn't know how to verify.

    Also, is it possible to enable the SGEN collector on Xamarin.Mac without packaging the entire Mono runtime in the app bundle?

  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    Not that I'm aware of.

Sign In or Register to comment.