[sgen] Whenever we wait for sweep, help the sweeping thread.
authorMark Probst <mark.probst@gmail.com>
Fri, 6 Feb 2015 23:02:31 +0000 (15:02 -0800)
committerMark Probst <mark.probst@gmail.com>
Thu, 2 Apr 2015 23:41:27 +0000 (16:41 -0700)
commitdc9f7f0d2cf3d51b32959db77f3c454e9c4a4f97
tree84704182be11b77d9dd65e65c7dfa5a907a0a38c
parentb36a81c904e0bda7a4b1a2ae6a5e9700ca66f364
[sgen] Whenever we wait for sweep, help the sweeping thread.

And since we always wait for the sweep now we can do iterations over
the blocks without taking the lock.
mono/metadata/sgen-cardtable.c
mono/metadata/sgen-gc.c
mono/metadata/sgen-gc.h
mono/metadata/sgen-marksweep.c