forked from mirrors/gecko-dev
Bug 1898615 - Fix intermittent failures for gc/gczeal.js JIT test r=sfink
Zeal mode 10 polls for background sweeping to finish so a collection in this mode can take an unbounded length of time. Differential Revision: https://phabricator.services.mozilla.com/D211512
This commit is contained in:
parent
249ac98ffe
commit
b01d17cb61
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ function countGCs(allocCount) {
|
|||
for (let i = 0; i < allocCount - 1 ; i++) {
|
||||
a.push({x: i});
|
||||
}
|
||||
finishgc();
|
||||
|
||||
return {
|
||||
minor: gcparam("minorGCNumber") - init.minor,
|
||||
|
|
|
|||
Loading…
Reference in a new issue