Speedup minor collections a small bit.
commit282f118a4806fc096a2190e31a92fcbf9078234b
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 19 Apr 2012 18:01:00 +0000 (19 15:01 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 19 Apr 2012 21:35:11 +0000 (19 18:35 -0300)
treed20fbe41df1484dfd5bee3e876511eabdeac8bc0
parentd91cf4a5ddc743f6e5d78a1aa2b0f1a86188afa1
Speedup minor collections a small bit.

* sgen-split-nursery.c: The alloc functions are only called
for nursery objects during a minor collection. So we can move
this check to a separate function and let only the major GC
pay for it.
mono/metadata/sgen-split-nursery.c