summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1542279.js
blob: 0efdc32ce2eaf6642a724f982a4fe7a4ba4f23d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
load(libdir + "asserts.js");

assertErrorMessage(
  () => gcparam('maxNurseryBytes', 2 ** 32 - 1),
  Error,
  "Parameter value out of range");
gc()

gcparam('minNurseryBytes', 32*1024);
gcparam('maxNurseryBytes', 64*1024);
gc()