aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-21 02:02:14 +0000
committerJustin Clark-Casey (justincc)2012-03-21 02:02:14 +0000
commit54a8a5baba4d7d3992cfe2c777c65eac812f7229 (patch)
treeffb57a1c093757228969a2453578e0f68e70016f /OpenSim/Region
parentAdd Scene.DebugUpdates switch which, if turned on, will print out a warning w... (diff)
downloadopensim-SC-54a8a5baba4d7d3992cfe2c777c65eac812f7229.zip
opensim-SC-54a8a5baba4d7d3992cfe2c777c65eac812f7229.tar.gz
opensim-SC-54a8a5baba4d7d3992cfe2c777c65eac812f7229.tar.bz2
opensim-SC-54a8a5baba4d7d3992cfe2c777c65eac812f7229.tar.xz
If "debug scene updates true" then print out to log when a garbage collection occurs.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 92c1060..76e632e 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1085,7 +1085,10 @@ namespace OpenSim.Region.Framework.Scenes
1085 { 1085 {
1086 bool enableUpdateDebugging; 1086 bool enableUpdateDebugging;
1087 if (bool.TryParse(options["updates"], out enableUpdateDebugging)) 1087 if (bool.TryParse(options["updates"], out enableUpdateDebugging))
1088 {
1088 DebugUpdates = enableUpdateDebugging; 1089 DebugUpdates = enableUpdateDebugging;
1090 GcNotify.Enabled = DebugUpdates;
1091 }
1089 } 1092 }
1090 } 1093 }
1091 1094