0ad/source/scriptinterface
Yves 5a985e18f4 Modify GC scheduling and reduce VFS cache size.
It seems like there is a memory leak if we haven't finished with the
marking phase of an incremental GC and SpiderMonkey has to trigger a
full GC because it runs out of memory. With this patch we stop trying to
make incremental GCs if we are above 1/2 of the runtime size and do Full
GCs instead. This should make such low memory conditions even less
likely than they were already after the previous patch. Also reduce the
maximum VFS cache size to 400 MB.
Refs #2808

This was SVN commit r15831.
2014-10-04 00:43:04 +00:00
..
tests Exact stack rooting for ScriptInterface::ToString. 2014-08-03 17:29:49 +00:00
AutoRooters.cpp Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
AutoRooters.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
DebuggingServer.cpp Adds precompiled.h include because Visual Studio checks for that even though the file only contains comments. 2014-01-05 13:58:38 +00:00
DebuggingServer.h I completely missed the header files when disabling the JS debugger. 2014-01-05 10:26:27 +00:00
NativeWrapperDecls.h More exact stack rooting (CallFunction object). 2014-07-31 19:18:40 +00:00
NativeWrapperDefns.h Exact stack rooting for GetClass and GetPrivate. 2014-08-03 17:53:21 +00:00
ScriptConversions.cpp Add engine support to load mods from config and restart into mods. 2014-08-25 16:02:40 +00:00
ScriptExtraHeaders.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ScriptInterface.cpp Modify GC scheduling and reduce VFS cache size. 2014-10-04 00:43:04 +00:00
ScriptInterface.h Tunes GC scheduling a bit to reduce memory usage. 2014-09-22 20:13:04 +00:00
ScriptStats.cpp Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ScriptStats.h Add JS memory usage to profiler. 2010-08-02 19:23:58 +00:00
ScriptTypes.h Suppresses noisy clang/libc++ warnings from SpiderMonkey headers on OS X 2014-09-07 23:58:22 +00:00
ScriptVal.cpp Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ScriptVal.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ThreadDebugger.cpp Adds precompiled.h include because Visual Studio checks for that even though the file only contains comments. 2014-01-05 13:58:38 +00:00
ThreadDebugger.h I completely missed the header files when disabling the JS debugger. 2014-01-05 10:26:27 +00:00