summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1792338.js
blob: 724f41b0fdd6256f219cdf18986b1742e5ff3cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| allow-unhandlable-oom; skip-if: (getBuildConfiguration()['android'] && getBuildConfiguration()['debug'])

gczeal(0);
if (!this.enqueueMark) {
  quit();
}

enqueueMark('set-color-gray');
enqueueMark(newGlobal({newCompartment: true}));
enqueueMark('set-color-black');
enqueueMark({});
setMarkStackLimit(1);
gc();
gc();