[sgen] Lock-free block array.
authorMark Probst <mark.probst@gmail.com>
Wed, 11 Feb 2015 00:38:41 +0000 (16:38 -0800)
committerMark Probst <mark.probst@gmail.com>
Thu, 2 Apr 2015 23:41:28 +0000 (16:41 -0700)
commitf5f2d2fb96ef5884c4add242dfe4704bb6195693
treecf85cad740e27e21e329070e4ffc2ee5ad82a584
parent68ba43ac728be2ef1c84f20188b2a8c132fec5e8
[sgen] Lock-free block array.

We tag pointers to blocks that are currently being processed.  Those
must not even be dereferenced by other threads because the sweep
thread might free them at any point.
mono/metadata/sgen-marksweep.c
mono/metadata/sgen-pointer-queue.c
mono/metadata/sgen-pointer-queue.h
mono/metadata/sgen-tagged-pointer.h