Debian Codegraph @

js/src/jit-test/tests/collections/bug-1885775.js

raw
1 // |jit-test| --enable-symbols-as-weakmap-keys; skip-if: getBuildConfiguration("release_or_beta")
2 var code = `
3 var m58 = new WeakMap;
4 var sym = Symbol();
5 m58.set(sym, ({ entry16: 0, length: 1 }));
6 function testCompacting() {
7 gcslice(50000);
8 }
9 testCompacting(2, 100000, 50000);
10 `;
11 for (x = 0; x < 10000; ++x)
12 evaluate(code);