2004-11-05 Ben Maurer <bmaurer@ximian.com>
commita9e75e6bb37df6d337e7232a0234413e57fd7a59
authorBen Maurer <benm@mono-cvs.ximian.com>
Fri, 5 Nov 2004 23:26:18 +0000 (5 23:26 -0000)
committerBen Maurer <benm@mono-cvs.ximian.com>
Fri, 5 Nov 2004 23:26:18 +0000 (5 23:26 -0000)
tree5d6ef33d7b0610aa12d99618aa814d302cd50773
parent4bff884ecdb42fff59d3eb9914a2cc42ce0bbd24
2004-11-05  Ben Maurer  <bmaurer@ximian.com>

* ssa.c: allocate MonoMethodVar.uses from the mempool. First, this
prevents another huge leak when compiling with ssa. Secondly, the
performance of doing this rather than freeing the lists is much
better. GList does a lock every time you allocate a list link,
so that it can use a memory pool. So, it is better to just use
a memory pool of our own.

svn path=/trunk/mono/; revision=35752
mono/mini/ChangeLog
mono/mini/ssa.c