Why does the RTS run GC right before shutting down?

Ömer Sinan Ağacan omeragacan at gmail.com
Fri Apr 6 13:49:41 UTC 2018


Hi,

I'm wondering why we run GC in this line:

https://github.com/ghc/ghc/blob/master/rts/Schedule.c#L2670

I went back in commit history using git blame and found the commit that
introduced that line (5638488ba28), but it didn't help. Does anyone know why we
need that line?

Thanks,

Ömer


More information about the ghc-devs mailing list