mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Stop running shrinking gcs & simplify GC logic.
Shrinking GCs dump the JITted code, which leads to redundant recompilations, lowers performance, and makes profiling JS more difficult. They may still happen if the runtime is at risk of OOM.
This commit is contained in:
committed by
wraitii
parent
d262eb8757
commit
af32d386b9
@@ -424,7 +424,7 @@ bool CNetServerWorker::RunStep()
|
||||
// (Do as little work as possible while the mutex is held open,
|
||||
// to avoid performance problems and deadlocks.)
|
||||
|
||||
m_ScriptInterface->GetContext().MaybeIncrementalGC(0.5f);
|
||||
m_ScriptInterface->GetContext().MaybeIncrementalGC();
|
||||
|
||||
ScriptRequest rq(m_ScriptInterface);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user