From f13b39a773f96d8edbc0c5ef5c7a3d896a10925a Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 7 Jun 2018 15:41:21 +0200 Subject: Fix count of compacting update tasks started. --- js/src/jsgc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp index 45301dac87..fb10797d51 100644 --- a/js/src/jsgc.cpp +++ b/js/src/jsgc.cpp @@ -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++; } } -- cgit v1.2.3