Debian Codegraph @

js/src/jit-test/tests/gc/bug-1940692.js

raw
1 // |jit-test| --disable-decommit
2
3 // Disable decommit and generate a bunch of garbage buffer allocations.
4
5 gczeal(10);
6 const count = 10000;
7 const length = 1000;
8 const a = [];
9 for (let i = 0; i < count; i++) {
10 new Array(length);
11 a[i] = new Array(length);
12 }