Bug 1585688 - Make test work when configured for 256KB chunks r=jonco

This test sets the minimum nursery size to 16MB. But on some configurations
the nursery's maximum is 4MB (16 * 256KB chunks, eg on mobile). Setting the
minimum greater than the maximum is forbidden. This patch sets the maximum
and minimum nursery sizes in the test to avoid this problem.

Differential Revision: https://phabricator.services.mozilla.com/D48288

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Paul Bone 2019-10-08 11:59:47 +00:00
Родитель 07e8548c0b
Коммит eb451e88d9
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -2,6 +2,7 @@
// This test times out in ARM64 simulator builds.
gczeal(0);
gcparam('maxNurseryBytes', 16 * 1024 * 1024);
gcparam('minNurseryBytes', 16 * 1024 * 1024);
let a = [];