diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp index 051b0f1a72b..a4e83ed8008 100644 --- a/js/src/jsgc.cpp +++ b/js/src/jsgc.cpp @@ -3504,7 +3504,7 @@ BudgetIncrementalGC(JSRuntime *rt, int64_t *budget) bool reset = false; for (CompartmentsIter c(rt); !c.done(); c.next()) { - if (c->gcBytes > c->gcTriggerBytes) { + if (c->gcBytes >= c->gcTriggerBytes) { *budget = SliceBudget::Unlimited; rt->gcStats.nonincremental("allocation trigger"); }