tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit b97125eb4b3b9215765eb95c13de4e644e0e79ec
parent 2e18e2122bbad3b812ab69b1e9070e65d5f00753
Author: Paul Bone <paul@bone.id.au>
Date:   Fri, 17 Oct 2025 06:20:27 +0000

Bug 1994901 - Initialise mNonFullRuns r=glandium

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

Diffstat:
Mmemory/build/mozjemalloc.cpp | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/memory/build/mozjemalloc.cpp b/memory/build/mozjemalloc.cpp @@ -2563,6 +2563,8 @@ void arena_bin_t::Init(SizeClass aSizeClass) { // Size of the run header, excluding mRegionsMask. static const size_t kFixedHeaderSize = offsetof(arena_run_t, mRegionsMask); + new (&mNonFullRuns) DoublyLinkedList<arena_run_t>(); + MOZ_ASSERT(aSizeClass.Size() <= gMaxBinClass); try_run_size = gPageSize;