[sgen] Fix card scanning with larger block sizes.
commit6f4e74bf77d7094604afdd1a7a37d7953a1fac90
authorMark Probst <mark.probst@gmail.com>
Fri, 10 Oct 2014 19:17:38 +0000 (10 12:17 -0700)
committerMark Probst <mark.probst@gmail.com>
Wed, 26 Nov 2014 18:38:46 +0000 (26 10:38 -0800)
treea5cb21d3243ef4a76158aa8eb81cd4a7baaf761f
parent77d2d231f0ab0b137be3e909beb68daa0fd96d2f
[sgen] Fix card scanning with larger block sizes.

The card scanning code assumed that the size of the block header is less
than the size of a card.  If we put the block info into the header and increase
the block size enough, that assumption isn't true anymore, because the
mark bits take up space in proportion to the block size.
mono/metadata/sgen-marksweep.c