[sgen] Add separate scan function for handling a single pointer entry
authorVlad Brezae <brezaevlad@gmail.com>
Sun, 7 Feb 2016 23:08:24 +0000 (01:08 +0200)
committerVlad Brezae <brezaevlad@gmail.com>
Fri, 25 Mar 2016 00:12:57 +0000 (02:12 +0200)
commit6a712c9d4e0ec2ed14e278d70899e92574c2f219
tree462b6a15fb37af4cac236b467b70bd0d9d839ffb
parent15fc3dabbc711eab08baf47ed2150b910e090f66
[sgen] Add separate scan function for handling a single pointer entry

This way we avoid duplicating cardtable marking code, making sure we have consistent code.

For example, when scanning los objects in the mod union scan step, we didn't check whether the object is cemented or not, leading to additional unnecessary global remsets for the next nursery collection.
mono/metadata/sgen-mono.c
mono/sgen/sgen-gc.h
mono/sgen/sgen-marksweep-drain-gray-stack.h
mono/sgen/sgen-marksweep.c
mono/sgen/sgen-minor-scan-object.h