0ad/source/simulation2
Yves 3b49576fa6 Tunes GC scheduling a bit to reduce memory usage.
The main problem was that GC was only called from the simulation before
this patch. This means when you were waiting in the multiplayer lobby or
just had the GUI open, it only called GC when getting close to the JS
runtime size limit (I assume). Another problem was the Net Server
runtime which didn't GC either. Here the runtime size limit is 16 MB
though, so it's not too terrible. These issues have both been addressed
and GC has been given a bit more time per incremental slice to make sure
it gets done in time. It's still far from perfect, but there are too
many changes in SpiderMonkey related to GC, so I don't want to spend too
much time on this yet.

Refs #2808

This was SVN commit r15787.
2014-09-22 20:13:04 +00:00
..
components Extend visibility update to all tiles around LoS vertices. Incidentally prevent an issue from arising on square maps. Also improve a code comment. 2014-09-21 20:29:54 +00:00
docs Small code style fix, related to a typo in the documentation. Also updates the Example component's copyright to match the current year. 2014-07-30 17:34:40 +00:00
helpers Revert RedFox's changes to Spatial subdivisions in the simplest possible way (hopefully won't cause OOS, but at least we'll get reports). Fixes #2573, Refs #2430 . There probably are opportunities to remove more things. 2014-08-06 09:21:00 +00:00
scripting Exact stack rooting for simulation message type conversions. 2014-08-09 20:02:49 +00:00
serialization Adds Serialization support for ES6 Maps. 2014-09-20 17:14:53 +00:00
system Only split strings if they are non-empty. Fixes previous commit. 2014-09-12 23:11:03 +00:00
tests Fix some disabled tests. 2014-08-24 15:29:53 +00:00
MessageTypes.h Exact stack rooting for simulation message type conversions. 2014-08-09 20:02:49 +00:00
Simulation2.cpp Tunes GC scheduling a bit to reduce memory usage. 2014-09-22 20:13:04 +00:00
Simulation2.h Removes g_ScriptingHost and implements global to compartment 1 to 1 relation. 2014-01-04 10:14:53 +00:00
TypeList.h Hide changes to buildings in the fog-of-war. 2014-08-04 22:49:19 +00:00