On Thu, Jun 8, 2017 at 3:05 PM, Ruben Astudillo <ruben.astud@gmail.com> wrote:
On 08/06/17 15:03, Brandon Allbery wrote:
> On Thu, Jun 8, 2017 at 3:00 PM, Ruben Astudillo <ruben.astud@gmail.com
> <mailto:ruben.astud@gmail.com>> wrote:
>     When the nursery of a capability gets filled, do we have to
>     stop-the-world just for that local nursery gc?. To me this is different
>     than gen0 or gen1 gc because isn't really a shared resource.
>
> Things that survive garbage collection get promoted out of the nursery.

but being promoted to gen0 is allocation, and thus there isn't need to
stop the other threads.

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. So what happens when there is more than one, and some of those are active in other threads?

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net