[sgen] Don't do remset consistency checks during majors
commit743a184be097984b0479fed7b1d34ebd4a157cb0
authorVlad Brezae <brezaevlad@gmail.com>
Tue, 6 Sep 2016 16:30:31 +0000 (6 19:30 +0300)
committerVlad Brezae <brezaevlad@gmail.com>
Tue, 6 Sep 2016 16:59:23 +0000 (6 19:59 +0300)
treef153a26f1078061978cf958d2e84e41c45210fc7
parent971883045ae92e2c1d64807ac170c177e0bede3f
[sgen] Don't do remset consistency checks during majors

It doesn't make sense to check the remset during a major since majors dont use the cardtable and we clear it at the start. So we will obviously have missing remsets. For the debugging concurrent case, we should use the mod union consistency checks instead.
mono/sgen/sgen-gc.c