зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 012e11e54840 (Bug 1101921) for build bustage on a CLOSED TREE
--HG-- extra : rebase_source : 38aac2c757b138fbdf754abb374f326048a5516a
This commit is contained in:
Родитель
52f854355a
Коммит
91cd09280f
|
@ -98,7 +98,7 @@ namespace JS {
|
|||
struct Zone;
|
||||
|
||||
/* Default size for the generational nursery in bytes. */
|
||||
const uint32_t DefaultNurseryBytes = 16 * ChunkSize;
|
||||
const uint32_t DefaultNurseryBytes = 16 * 1024 * 1024;
|
||||
|
||||
/* Default maximum heap size in bytes to pass to JS_NewRuntime(). */
|
||||
const uint32_t DefaultHeapMaxBytes = 32 * 1024 * 1024;
|
||||
|
|
|
@ -71,7 +71,7 @@ class Nursery
|
|||
{}
|
||||
~Nursery();
|
||||
|
||||
bool init(uint32_t maxNurseryBytes);
|
||||
bool init(uint32_t numNurseryChunks);
|
||||
|
||||
bool exists() const { return numNurseryChunks_ != 0; }
|
||||
size_t numChunks() const { return numNurseryChunks_; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче