summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1137341.js
blob: ec172aee33b283a76bad4ef5972a7c99523aa011 (plain)
1
2
3
4
5
6
7
8
9
10
11
if (helperThreadCount() == 0)
   quit();

gczeal(0);
gc();

schedulegc(this);
startgc(0, "shrinking");
var g = newGlobal();
g.offThreadCompileScript('debugger;', {});
g.runOffThreadScript();