[Haskell-cafe] rts nursery and stopping the world minor gc

Ruben Astudillo ruben.astud at gmail.com
Thu Jun 8 19:29:42 UTC 2017


I didn't understand some parts

On 08/06/17 15:08, Brandon Allbery wrote:
> It's not just allocation: if it didn't get garbage collected, then
> there is *at least* one reference to it that needs to be updated.

which reference is that?. Immutability means that old data can't
reference the new one, right?. What kind of reference (apart from live
data on the stack) can we have on new data on the nursery?

> So what happens when there is more than one, and some of those are
> active in other threads?

Same as before right?

Sorry, maybe I don't have the right mental model. If you could show me a
general picture of what happens when a nursery gets full I would
appreciate it :-) .

-- Ruben Astudillo


More information about the Haskell-Cafe mailing list