mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09:00
![]() Before this change, it was possible for a second GC to get triggered in the middle of a first GC, due to allocations happening in the FinalizationRegistry cleanup host hook. To avoid this causing problems, we add a "post-GC task" mechanism and use that to invoke the host hook once all other GC activity is finished, and we've unset the "collecting garbage" flag. Note that the test included here only fails reliably when running with the -g flag (collect garbage after each allocation). Fixes #3051 |
||
---|---|---|
.. | ||
BlockAllocator.cpp | ||
BlockAllocator.h | ||
Cell.cpp | ||
Cell.h | ||
CellAllocator.cpp | ||
CellAllocator.h | ||
CMakeLists.txt | ||
ConservativeVector.cpp | ||
ConservativeVector.h | ||
DeferGC.h | ||
ForeignCell.cpp | ||
ForeignCell.h | ||
Forward.h | ||
Function.h | ||
Heap+Swift.swift | ||
Heap.cpp | ||
Heap.h | ||
HeapBlock.cpp | ||
HeapBlock.h | ||
HeapRoot.h | ||
Internals.h | ||
NanBoxedValue.h | ||
Ptr.h | ||
Root.cpp | ||
Root.h | ||
RootVector.cpp | ||
RootVector.h | ||
WeakContainer.cpp | ||
WeakContainer.h |