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 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Application') 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) -- cgit v1.1