From 731510c30592b954e1150603b2f91f1c258d6978 Mon Sep 17 00:00:00 2001
From: UbitUmarov
Date: Tue, 9 May 2017 18:27:06 +0100
Subject: let .net decide GC mode from its defaults on the platform
---
OpenSim/Region/Application/OpenSim.cs | 3 +++
bin/OpenSim.exe.config | 2 --
bin/Robust.exe.config | 2 --
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 7ac6eb9..f9f103a 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -33,6 +33,7 @@ using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
+using System.Runtime;
using System.Text;
using System.Text.RegularExpressions;
using System.Timers;
@@ -124,6 +125,8 @@ namespace OpenSim
Util.InitThreadPool(stpMinThreads, stpMaxThreads);
m_log.Info("[OPENSIM MAIN]: Using async_call_method " + Util.FireAndForgetMethod);
+
+ m_log.InfoFormat("[OPENSIM MAIN] Running GC in {0} mode", GCSettings.IsServerGC ? "server":"workstation");
}
#if (_MONO)
diff --git a/bin/OpenSim.exe.config b/bin/OpenSim.exe.config
index f1bf8a0..3f718d2 100755
--- a/bin/OpenSim.exe.config
+++ b/bin/OpenSim.exe.config
@@ -5,8 +5,6 @@
-
-
diff --git a/bin/Robust.exe.config b/bin/Robust.exe.config
index 7db6458..025555e 100644
--- a/bin/Robust.exe.config
+++ b/bin/Robust.exe.config
@@ -5,8 +5,6 @@
-
-
--
cgit v1.1