summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1569840.js
blob: 70d28add7382782479edbe2f71732e929156f170 (plain)
1
2
3
4
5
6
7
8
9
gczeal(0);

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