From 4463c7031398d263969ee3d12fb93d28ba59fcc6 Mon Sep 17 00:00:00 2001 From: Pale Moon Date: Thu, 7 Jun 2018 15:40:17 +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 ce2e85b80..767ce8669 100644 --- a/js/src/jsgc.cpp +++ b/js/src/jsgc.cpp @@ -2516,8 +2516,8 @@ GCRuntime::updateAllCellPointersParallel(MovingTracer* trc) for (i = 0; i < taskCount && !bgArenas.done(); ++i) { bgTasks[i].init(rt, &bgArenas, lock); startTask(bgTasks[i], gcstats::PHASE_COMPACT_UPDATE_CELLS); + tasksStarted++; } - tasksStarted = i; fgTask.init(rt, &fgArenas, lock); } -- cgit v1.2.3