mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
more changes on YEngine scripts heap usage
This commit is contained in:
@@ -86,7 +86,8 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
m_StackSize = stackSize;
|
||||
m_StackLeft = stackSize;
|
||||
m_HeapSize = heapSize;
|
||||
m_heapUsed = 0;
|
||||
m_localsHeapUsed = 0;
|
||||
m_arraysHeapUsed = 0;
|
||||
m_CompilerErrors = errors;
|
||||
m_StateFileName = GetStateFileName(scriptBasePath, m_ItemID);
|
||||
|
||||
@@ -904,7 +905,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
glblVars.iarStrings = strings;
|
||||
glblVars.iarLists = lists;
|
||||
|
||||
AddHeapUse(heapsz);
|
||||
AddArraysHeapUse(heapsz);
|
||||
CheckRunLockInvariants(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user