зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 350af7271fad (bug 1892242) for causing SM bustages in testGCOutOfMemory.cpp.
This commit is contained in:
Родитель
559a721934
Коммит
89b79022bf
|
@ -380,7 +380,7 @@ enum StackKind {
|
|||
* initial value. In the browser this configured by the
|
||||
* javascript.options.mem.nursery.max_kb pref.
|
||||
*/
|
||||
const uint32_t DefaultNurseryMaxBytes = 64 * js::gc::ChunkSize;
|
||||
const uint32_t DefaultNurseryMaxBytes = 16 * js::gc::ChunkSize;
|
||||
|
||||
/* Default maximum heap size in bytes to pass to JS_NewContext(). */
|
||||
const uint32_t DefaultHeapMaxBytes = 32 * 1024 * 1024;
|
||||
|
|
|
@ -942,7 +942,7 @@ pref("javascript.options.mem.max", -1);
|
|||
|
||||
// JSGC_MIN_NURSERY_BYTES / JSGC_MAX_NURSERY_BYTES
|
||||
pref("javascript.options.mem.nursery.min_kb", 256);
|
||||
pref("javascript.options.mem.nursery.max_kb", 65536);
|
||||
pref("javascript.options.mem.nursery.max_kb", 16384);
|
||||
|
||||
// JSGC_MODE
|
||||
pref("javascript.options.mem.gc_per_zone", true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче