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

httptests
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.IO;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Runtime;
using System.Text; using System.Text;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Timers; using System.Timers;
@ -124,6 +125,8 @@ namespace OpenSim
Util.InitThreadPool(stpMinThreads, stpMaxThreads); Util.InitThreadPool(stpMinThreads, stpMaxThreads);
m_log.Info("[OPENSIM MAIN]: Using async_call_method " + Util.FireAndForgetMethod); 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) #if (_MONO)

View File

@ -5,8 +5,6 @@
</configSections> </configSections>
<runtime> <runtime>
<loadFromRemoteSources enabled="true" /> <loadFromRemoteSources enabled="true" />
<gcConcurrent enabled="true" />
<gcServer enabled="true" />
</runtime> </runtime>
<appSettings> <appSettings>
</appSettings> </appSettings>

View File

@ -5,8 +5,6 @@
</configSections> </configSections>
<runtime> <runtime>
<loadFromRemoteSources enabled="true" /> <loadFromRemoteSources enabled="true" />
<gcConcurrent enabled="true" />
<gcServer enabled="true" />
</runtime> </runtime>
<appSettings> <appSettings>
</appSettings> </appSettings>