blob: a2c953c11f45fb10a866400245b1411a104473ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// |jit-test| skip-if: !('oomAfterAllocations' in this)
try {
function varying(mapColor, keyColor) {
enqueueMark(`set-color-${keyColor}`);
enqueueMark("yield");
startgc(100000);
}
for (const mapColor of ['gray', 'black'])
varying(mapColor, 0x7fff);
} catch (exc) {}
oomAfterAllocations(100);
|