gecko-dev/js
Jon Coppeard 3db117d21d Bug 1924504 - Make GCRuntime::getOrAllocChunk leave chunk on the empty chunks list r=sfink
The problem is that we can fail to allocate an arena in a new chunk for various
reason, but currently we eagerly move the chunk from the empty to the available
chunks list when getting an empty chunk and this causes an assertion failure
later when the chunk is found to stil be empty.

The patch makes it so that we leave the chunk on the empty chunk list until we
successfully allocate an arena in it. It also adds more assertions during the
decommit process.

I don't think anything here could have caused a crash.

Differential Revision: https://phabricator.services.mozilla.com/D225509
2024-10-15 07:33:02 +00:00
..
examples
loader Bug 1923330 - Reorder using declaration to prevent -Wchanges-meaning warning r=jonco 2024-10-09 12:30:17 +00:00
public Bug 1921345 - Remove global constructor from js/src/vm/SavedStacks.cpp r=arai 2024-10-15 04:55:54 +00:00
src Bug 1924504 - Make GCRuntime::getOrAllocChunk leave chunk on the empty chunks list r=sfink 2024-10-15 07:33:02 +00:00
xpconnect Backed out 9 changesets (bug 1911021) for causing failures at ExecutionTracer.cpp. CLOSED TREE 2024-10-15 02:54:20 +03:00
app.mozbuild
ffi.configure
moz.build
moz.configure Backed out 9 changesets (bug 1911021) for causing failures at ExecutionTracer.cpp. CLOSED TREE 2024-10-15 02:54:20 +03:00
sub.configure