mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Allow 25% working-set size growth instead of 18.75% (trying to identify tjss regression cause).
This commit is contained in:
parent
1df2ae6738
commit
73653222ec
@ -3784,7 +3784,7 @@ js_MaybeGC(JSContext *cx)
|
||||
size_t freed = rt->gcFreed;
|
||||
if (lastRSS > freed)
|
||||
lastRSS -= freed;
|
||||
if (js_GetRSS() > (lastRSS + lastRSS/16 + lastRSS/8)) // 18.75% growth?
|
||||
if (js_GetRSS() > (lastRSS + lastRSS/4)) // 25% growth?
|
||||
JS_GC(cx);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user