summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1865597.js
blob: 451b806294e4ed79a80ace93a620bffd7de20d89 (plain)
1
2
3
4
5
6
7
8
oomTest(() => {
  gcparam('parallelMarkingEnabled', false);
  assertEq(gcparam('parallelMarkingEnabled'), 0);
  gcparam('parallelMarkingEnabled', true);
  assertEq(gcparam('parallelMarkingEnabled'), 1);
  gcparam('parallelMarkingEnabled', false);
  assertEq(gcparam('parallelMarkingEnabled'), 0);
});