0ad/source/scriptinterface
Lancelot de Ferrière e3e542b1f9 Always allow last-ditch GCs
As noted on #7979, we run into OOMs since commit af32d386b9. The reason is that the default incremental GC budget is unlimited, which actually doesn't perform incremental GCs. Our settings can lead to situation where the incremental GCs don't actually sweep, thus not freeing memory.
SM has a mechanism to avoid OOM anyways with LAST_DITCH GCs, but by default these can only occur ever 30 seconds. Turn this off.

Reported by: langbart
2025-05-28 10:14:20 +02:00
..
tests Add a class to register stateful callbacks to JS 2025-04-17 15:02:05 +02:00
FunctionWrapper.h Add a class to register stateful callbacks to JS 2025-04-17 15:02:05 +02:00
JSON.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSON.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Object.h Skip redundant HasProperty in GetObjectClassName 2025-05-10 17:08:49 +02:00
Promises.cpp Add final to classes introduced in f9114a87f2 2024-08-25 13:38:09 +02:00
Promises.h Upgrade SpiderMonkey to ESR 115 2024-12-09 10:46:12 +01:00
ScriptContext.cpp Always allow last-ditch GCs 2025-05-28 10:14:20 +02:00
ScriptContext.h Stop running shrinking gcs & simplify GC logic. 2025-04-22 17:03:29 +02:00
ScriptConversions.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ScriptConversions.h Avoid maybe uninitialized warning with gcc 2025-03-23 14:38:43 +01:00
ScriptEngine.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ScriptExceptions.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ScriptExceptions.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ScriptExtraHeaders.h Upgrade SpiderMonkey to ESR 115 2024-12-09 10:46:12 +01:00
ScriptForward.h Upgrade SpiderMonkey to ESR 115 2024-12-09 10:46:12 +01:00
ScriptInterface.cpp Cache JS component wrappers 2025-04-19 14:41:45 +02:00
ScriptInterface.h Cache JS component wrappers 2025-04-19 14:41:45 +02:00
ScriptRequest.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ScriptStats.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ScriptStats.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ScriptTypes.h Remove check for SpiderMonkey minor version 2024-12-09 10:46:14 +01:00
StructuredClone.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
StructuredClone.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00