зеркало из https://github.com/mozilla/gecko-dev.git
Backout cafc08288982 (Bug 1111361) for a 19% regression on splay.
This commit is contained in:
Родитель
2f8e577df8
Коммит
534fb9f4c5
|
@ -1741,12 +1741,6 @@ GCMarker::processMarkStackTop(SliceBudget &budget)
|
|||
scan_value_array:
|
||||
MOZ_ASSERT(vp <= end);
|
||||
while (vp != end) {
|
||||
budget.step();
|
||||
if (budget.isOverBudget()) {
|
||||
pushValueArray(obj, vp, end);
|
||||
return;
|
||||
}
|
||||
|
||||
const Value &v = *vp++;
|
||||
if (v.isString()) {
|
||||
markAndScanString(obj, v.toString());
|
||||
|
|
|
@ -3190,7 +3190,7 @@ GCRuntime::maybeAllocTriggerZoneGC(Zone *zone, const AutoLockGC &lock)
|
|||
// The threshold has been surpassed, immediately trigger a GC,
|
||||
// which will be done non-incrementally.
|
||||
triggerZoneGC(zone, JS::gcreason::ALLOC_TRIGGER);
|
||||
} else if (usedBytes >= igcThresholdBytes && interFrameGC) {
|
||||
} else if (usedBytes >= igcThresholdBytes) {
|
||||
// Reduce the delay to the start of the next incremental slice.
|
||||
if (zone->gcDelayBytes < ArenaSize)
|
||||
zone->gcDelayBytes = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче