Tedd Hansen
|
53be4774b3
|
Scripts no longer crash sim after 5 minutes (override InitializeLifetimeService). Loading/Unloading of scripts are now handled in separate thread so server is no delayed because of this. Each script is loaded into a single AppDomain (temporary test for script unload, eats ~15KB more memory for each script). Unload of scripts has been verified to free up memory.
|
2007-08-25 15:31:47 +00:00 |
Tedd Hansen
|
1b826c2fdc
|
Added "StopScriot()" to ScriptManager. Stops Executor from executing events in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
|
2007-08-19 17:47:47 +00:00 |
Tedd Hansen
|
e70cdbc5ac
|
Added event method invoke cache to Executor. "Bind once, Invoke multiple times". Will speed up script event execution considerable. But at the cost of some memory (will be optimized later with RuntimeXHandle).
|
2007-08-19 10:28:27 +00:00 |
Tedd Hansen
|
37446b0392
|
Moved in-AppDomain event execution from Script to OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
|
2007-08-18 23:24:38 +00:00 |
Tedd Hansen
|
240712ca9f
|
Scripts are working again. Scripts are now loaded into limited AppDomains (no security yet).
*phew* that only took me 12 hours of coding...
|
2007-08-18 22:09:07 +00:00 |