mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 731423 - Don't do incremental GC when hitting alloc trigger (r=gwagner)
This commit is contained in:
parent
b9d2d5f9e3
commit
762b5ce3a4
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user