diff options
author | Justin Clark-Casey (justincc) | 2012-03-21 02:02:14 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-21 02:02:14 +0000 |
commit | 54a8a5baba4d7d3992cfe2c777c65eac812f7229 (patch) | |
tree | ffb57a1c093757228969a2453578e0f68e70016f /OpenSim/Region/Framework | |
parent | Add Scene.DebugUpdates switch which, if turned on, will print out a warning w... (diff) | |
download | opensim-SC_OLD-54a8a5baba4d7d3992cfe2c777c65eac812f7229.zip opensim-SC_OLD-54a8a5baba4d7d3992cfe2c777c65eac812f7229.tar.gz opensim-SC_OLD-54a8a5baba4d7d3992cfe2c777c65eac812f7229.tar.bz2 opensim-SC_OLD-54a8a5baba4d7d3992cfe2c777c65eac812f7229.tar.xz |
If "debug scene updates true" then print out to log when a garbage collection occurs.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
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 | ||