From 5951152082d765b18fb3ad7416facb51fa1ce58c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 22 Nov 2018 01:11:35 +0000 Subject: Yengine: try read XEngine state from wire --- OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs') diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs index 490de74..092d9c2 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs @@ -452,6 +452,11 @@ namespace OpenSim.Region.ScriptEngine.Yengine return newuse; } + public virtual void AddHeapUse(int delta) + { + Interlocked.Add(ref heapUsed, delta); + } + public int xmrHeapLeft() { return heapLimit - heapUsed; -- cgit v1.1