summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1885819-2.js
blob: a87e4c701aaf1a7951e32dc80a96be4cd16cfa02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
let g = newGlobal();
function f() {
  var o = {};
  o["prop" + Date.now()] = 1;
  gc();
  schedulezone("atoms");
  schedulezone(g);
  gc("zone");
  let [x] = [0];
}
f();
oomTest(f);