Debian Codegraph @

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

raw
1 // |jit-test| slow; --ion-offthread-compile=off; skip-if: helperThreadCount() === 0
2
3 var g = newGlobal();
4 gczeal(9, 1);
5 gczeal(11, 2);
6 g.offThreadCompileToStencil("");
7 setJitCompilerOption("offthread-compilation.enable", 1);
8
9 for (let i = 0 ; i < 3000; i++) {
10 loadFile();
11 }
12
13 function loadFile() {
14 try {
15 x;
16 } catch(exc) {}
17 }