Fix count of compacting update tasks started.

This commit is contained in:
wolfbeast 2018-06-07 15:41:21 +02:00 committed by Roy Tam
commit 9ca1242630

View file

@ -2276,7 +2276,7 @@ GCRuntime::updateCellPointers(MovingTracer* trc, Zone* zone, AllocKinds kinds, s
for (size_t i = 0; i < bgTaskCount && !bgArenas.done(); i++) {
bgTasks[i].emplace(rt, &bgArenas, lock);
startTask(*bgTasks[i], gcstats::PHASE_COMPACT_UPDATE_CELLS, lock);
tasksStarted = i;
tasksStarted++;
}
}