[sgen] Tweak internal class allocator sizes to add highly used on
authorLudovic Henry <ludovic.henry@xamarin.com>
Tue, 26 Aug 2014 22:32:23 +0000 (18:32 -0400)
committerLudovic Henry <ludovic.henry@xamarin.com>
Tue, 9 Sep 2014 09:16:09 +0000 (11:16 +0200)
commit749171e917b7231a426691275477b19fdad3532d
tree5c97dd26546f005f691a0f42bc931485bdcff142
parent2b72c6bdf2cb716db3c39ad3537ac312857e5d6a
[sgen] Tweak internal class allocator sizes to add highly used on

We observed on multiples benchmarks that most internal allocations are for 8, 16, 296 (32bits), 328 (64bits), 504 (32bits) and 1016 (64bits) bytes of memory. To minimize waste, we added these memory sizes to the default allocator sizes.
mono/metadata/sgen-internal.c