[banshee] Use Mono's new SGen GC when available



commit 4a1bbfac704944cf4f59d678bca4a3bb274a6233
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Wed Oct 6 18:05:04 2010 -0500

    Use Mono's new SGen GC when available
    
    This is a provisional change for the 1.9.x cycle to see how well SGen
    works for Banshee.  If you are using Mono 2.8, please report if you have
    any memory issues or improvements!

 src/Clients/Booter/banshee-1.darwin.in |    3 +++
 src/Clients/Booter/banshee-1.linux.in  |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Clients/Booter/banshee-1.darwin.in b/src/Clients/Booter/banshee-1.darwin.in
index 67ba30c..1b603bb 100644
--- a/src/Clients/Booter/banshee-1.darwin.in
+++ b/src/Clients/Booter/banshee-1.darwin.in
@@ -41,6 +41,9 @@ MONO_BIN="$BIN_DIR/mono"
 MONO_EXE="$LIB_DIR/banshee-1/Nereid.exe"
 MONO_OPTIONS=""
 
+# We are testing the SGen compacting GC
+export MONO_ENV_OPTIONS="--with-gc=sgen"
+
 for arg in $*; do
 	if [ "$arg" = --debug ]; then
 		MONO_OPTIONS="$MONO_OPTIONS --debug"
diff --git a/src/Clients/Booter/banshee-1.linux.in b/src/Clients/Booter/banshee-1.linux.in
index 9009797..97ea29d 100644
--- a/src/Clients/Booter/banshee-1.linux.in
+++ b/src/Clients/Booter/banshee-1.linux.in
@@ -45,6 +45,9 @@ if [ ! -z "$BANSHEE_CLIENT" ]; then
 	BANSHEE_CLIENT="--client=${BANSHEE_CLIENT}"
 fi
 
+# We are testing the SGen compacting GC
+export MONO_ENV_OPTIONS="--with-gc=sgen"
+
 if [ -n "$BANSHEE_DEBUG" -o -n "$BANSHEE_TRACE" -o -n "$BANSHEE_PROFILE" ]; then
     MONO_OPTIONS="$BANSHEE_DEBUG $BANSHEE_TRACE $BANSHEE_PROFILE"
     echo "** Running Mono with $MONO_OPTIONS **"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]