1
1
forked from 0ad/0ad
0ad/source/network
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
..
tests Fix failure in TestNetComms::test_basic_DISABLED. Patch by Echelon9. Fixes #2426. 2014-08-24 12:02:52 +00:00
fsm.cpp Implements ready status into gamesetup. Fixes #2447. 2014-04-26 18:34:34 +00:00
fsm.h Let CFsm actions override the default state transition 2011-10-27 14:10:55 +00:00
NetClient.cpp Exact stack rooting for ScriptInterface::ToString. 2014-08-03 17:29:49 +00:00
NetClient.h Implements ready status into gamesetup. Fixes #2447. 2014-04-26 18:34:34 +00:00
NetFileTransfer.cpp Fix printf argument types 2011-11-13 18:31:06 +00:00
NetFileTransfer.h Fix tests, and warnings, and non-PCH build 2011-12-23 13:01:29 +00:00
NetHost.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
NetHost.h Implements ready status into gamesetup. Fixes #2447. 2014-04-26 18:34:34 +00:00
NetMessage.cpp Implements ready status into gamesetup. Fixes #2447. 2014-04-26 18:34:34 +00:00
NetMessage.h # Support rejoining multiplayer games after disconnection. 2011-10-27 16:46:48 +00:00
NetMessages.h Implements ready status into gamesetup. Fixes #2447. 2014-04-26 18:34:34 +00:00
NetMessageSim.cpp Exact stack rooting for ScriptInterface::ToString. 2014-08-03 17:29:49 +00:00
NetServer.cpp Tunes GC scheduling a bit to reduce memory usage. 2014-09-22 20:13:04 +00:00
NetServer.h Exact stack rooting for JSON related ScriptInterface functions. 2014-08-02 22:21:50 +00:00
NetSession.cpp Detect and fix printf signedness errors. Fixes #1086, #1087. 2012-01-01 16:43:10 +00:00
NetSession.h # Support rejoining multiplayer games after disconnection. 2011-10-27 16:46:48 +00:00
NetStats.cpp Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss. 2011-02-17 20:08:20 +00:00
NetStats.h Run network server in a separate thread, to minimise latency. 2010-10-31 22:00:28 +00:00
NetTurnManager.cpp Send messages in queue before closing connection, patch by boeseRaupe. Fixes #2420 2014-02-05 02:44:25 +00:00
NetTurnManager.h Send messages in queue before closing connection, patch by boeseRaupe. Fixes #2420 2014-02-05 02:44:25 +00:00
NMTCreator.h # Basic experimental multiplayer integration with new simulation system. 2010-05-20 00:59:01 +00:00
Serialization.h # Refactored the networking code, and redesigned the game setup screen. 2010-06-30 21:41:04 +00:00
StringConverters.h Provide JSON-compatible string escaping 2011-11-04 01:18:34 +00:00