mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
let .net decide GC mode from its defaults on the platform
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user