[pypy-dev] STM and concurrent GC

Armin Rigo arigo at tunes.org
Thu Sep 6 14:43:14 CEST 2012


Hi Wiktor,

On Thu, Sep 6, 2012 at 1:36 PM, Wiktor Mizdal <wiktor8010 at o2.pl> wrote:
> will STM can help implement concurrent garbage collector?

No, that's the wrong way around.  A concurrent GC might be needed at
some point in order to help STM.  But you don't want to write a GC
*using* the STM features.  Instead we need to write a GC taking STM
into account, and probably sharing the same read/write barriers; if
anything, it makes the job harder than "just" writing STM or "just"
writing a concurrent GC.


A bientôt,

Armin.


More information about the pypy-dev mailing list