summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-07 15:41:21 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-07 15:41:21 +0200
commitf13b39a773f96d8edbc0c5ef5c7a3d896a10925a (patch)
treea39e9128add87feadfd74db8d341cc6f22d9e4d6
parent306f3865ccb240ef30c773de4955732227ce4929 (diff)
downloadUXP-f13b39a773f96d8edbc0c5ef5c7a3d896a10925a.tar
UXP-f13b39a773f96d8edbc0c5ef5c7a3d896a10925a.tar.gz
UXP-f13b39a773f96d8edbc0c5ef5c7a3d896a10925a.tar.lz
UXP-f13b39a773f96d8edbc0c5ef5c7a3d896a10925a.tar.xz
UXP-f13b39a773f96d8edbc0c5ef5c7a3d896a10925a.zip
Fix count of compacting update tasks started.
-rw-r--r--js/src/jsgc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp
index 45301dac8..fb10797d5 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++;
}
}