Debian Codegraph @

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

raw
1 gczeal(0);
2
3 function f() {
4 let global = newGlobal({newCompartment: true});
5 global.a = Debugger(newGlobal({newCompartment: true}));
6 global.evaluate("grayRoot()");
7 }
8
9 function g(i) {
10 const str = " ".padStart(10000, " ");
11 str.startsWith("1");
12 if (i > 0) {
13 g(i - 1);
14 }
15 }
16
17 f();
18 gczeal(11,3);
19 g(1000);