mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 21:34:08 -07:00
Further work would be nice to be able to only collect zones that
probably have garbage to collect, but that likely requires splitting our
contexts in more zones.
0 A.D. had been running in incremental GC since 1.8.5. With the SM78
upgrade, I changed this to the new default "ZONE_INCREMENTAL", which GCs
specific zones.
However, I failed to realise that deleted scriptInterfaces and their
corresponding zones would no longer be collected.
This corrects for that.
Fixes
|
||
|---|---|---|
| .. | ||
| tests | ||
| NativeWrapperDecls.h | ||
| NativeWrapperDefns.h | ||
| ScriptContext.cpp | ||
| ScriptContext.h | ||
| ScriptConversions.cpp | ||
| ScriptConversions.h | ||
| ScriptEngine.h | ||
| ScriptExceptions.cpp | ||
| ScriptExceptions.h | ||
| ScriptExtraHeaders.h | ||
| ScriptForward.h | ||
| ScriptInterface.cpp | ||
| ScriptInterface.h | ||
| ScriptStats.cpp | ||
| ScriptStats.h | ||
| ScriptTypes.h | ||