apaulus
apaulus

Reputation: 77

current mono default garbage collector

What is the current GC implementation in mono 4.2?

Thanks in advance for clearing this up.

Upvotes: 2

Views: 887

Answers (1)

SushiHangover
SushiHangover

Reputation: 74124

SGen is the default collector.

Posted on 14 Jan 2016 by Miguel de Icaza:

Mono's Cooperative Mode for SGen GC

As of today, Mono's Coop engine can either be compiled in by default (by passing --with-cooperative-gc to configure), or by setting the MONO_ENABLE_COOP environment variable to any value.

We have used a precursor of Coop for about 18 months, and now we have a fully productized version of it on Mono master and we are looking for developers to try it out.

We are hoping to enable this by default next year. 1 Astute readers will notice that it still took years of development to make SGen the default collector in Mono.

Upvotes: 2

Related Questions