summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1543014.js
blob: 9f91ad35260c8adf42d6a840a77870e0c91301a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| skip-if: helperThreadCount() === 0
gczeal(0);
evalInWorker(`
  var sym4 = Symbol.match;
  function basicSweeping() {};
  var wm1 = new WeakMap();
  wm1.set(basicSweeping, sym4);
  startgc(100000, 'shrinking');
`);
gczeal(2);
var d1 = newGlobal({});