summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1569840.js
blob: 45df33940500f636c6aff1d9ed68de9e906a11cf (plain)
1
2
3
4
5
6
7
8
9
gczeal(0);
gcparam("semispaceNurseryEnabled", 0);

gcparam("maxNurseryBytes", 1024*1024);
gcparam("minNurseryBytes", 1024*1024);
var obj = { foo: 'bar', baz: [1, 2, 3]};
minorgc();
assertEq(gcparam("nurseryBytes"), 1024*1024);