Sprinkle some inlining annotations magic to bring performance back to the 2.10 levels.
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 13 Aug 2012 23:07:44 +0000 (20:07 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Tue, 14 Aug 2012 17:06:55 +0000 (14:06 -0300)
commitf4499071a806cf18b28ccb5ad5c7d0f3c641b5e5
tree05ec5e9eaa79afe51d30b91b47eff4247848e3eb
parent103ba0fb89b960bf957f733dc050b5765e25891e
Sprinkle some inlining annotations magic to bring performance back to the 2.10 levels.

* sgen-copy-object.h: For some reason gcc's inlining heuristics for serial_copy_object
from serial_scan_object reason not to inline it. This causes a 20% increase in nursery
scanning times.

Be explicit about inlining hints to make sure we get what we need.
mono/metadata/sgen-copy-object.h