mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1532857 - Use SubChunkLimit when re-enabling the nursery r=jonco
I should have included this change in Bug 1527532. Differential Revision: https://phabricator.services.mozilla.com/D22241 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
34c7c8f3d5
commit
9a8337af9d
@ -194,7 +194,7 @@ void js::Nursery::enable() {
|
||||
if (!allocateNextChunk(0, lock)) {
|
||||
return;
|
||||
}
|
||||
capacity_ = NurseryChunkUsableSize;
|
||||
capacity_ = SubChunkLimit;
|
||||
}
|
||||
|
||||
setCurrentChunk(0, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user