[sgen] Fix scanning of large arrays (#7672)
commit0dec8fda18c99abf65475354514c2122f6f6a118
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 21 Mar 2018 15:48:25 +0000 (21 17:48 +0200)
committerLudovic Henry <luhenry@microsoft.com>
Wed, 21 Mar 2018 15:48:25 +0000 (21 11:48 -0400)
treec1b76686db62cefc5c11ca4c8087c263e195d4a7
parent39c9f9d935d29e9e94175316d98a1d5ab09fde7f
[sgen] Fix scanning of large arrays (#7672)

The previous code was handling only objects residing in 2 32bit card protected address spaces. This means card table scanning for objects larger than 4GB was potentially broken, while card scanning of objects larger than 8GB was completely broken.

Fixes https://github.com/mono/mono/issues/7537
mono/metadata/sgen-mono.c