Fix allowance calculation and introduce a constant in place of a magic number.
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 2 Jul 2012 18:53:41 +0000 (15:53 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Mon, 2 Jul 2012 20:53:09 +0000 (17:53 -0300)
commit89e30221a57325e3a4a4aa416e46b3595205136f
tree4c91f7d512a3310cbf6a1c2071311a1deb708cfc
parent5ea042d2e6f730d192a343103e1b127f457aa68b
Fix allowance calculation and introduce a constant in place of a magic number.

* sgen-conf.h: Introduce SGEN_DEFAULT_SAVE_TARGET_RATIO tunnable.

* sgen-memory-governor.c: Fix allowance calculation to use the
right size of the los space.
mono/metadata/sgen-conf.h
mono/metadata/sgen-memory-governor.c