let .net decide GC mode from its defaults on the platform

This commit is contained in:
UbitUmarov
2017-05-09 18:27:06 +01:00
parent 52d4cf692c
commit 731510c305
3 changed files with 3 additions and 4 deletions

View File

@@ -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)