[sgen] Write barrier nursery checks might be needed
authorVlad Brezae <brezaevlad@gmail.com>
Fri, 20 Feb 2015 03:25:18 +0000 (19:25 -0800)
committerVlad Brezae <brezaevlad@gmail.com>
Mon, 16 Mar 2015 19:22:05 +0000 (12:22 -0700)
commit388e3efe0de1bbc743355738d731f6fb93e58561
tree8bf949732cfbbf41a558a393e656ab8efc34b8ca
parent149534c76ca3a70d8b39ac4a01c84e6fc08a768c
[sgen] Write barrier nursery checks might be needed

For the case of non-concurrent collector we don't want to mark stores from the heap to the heap, since it would add sgen overhead. When aot compilling we don't know whether the GC will be concurrent or not, so we fallback to the write barrier method.
mono/mini/method-to-ir.c