ladybird/Userland/Libraries/LibJS/Heap
Andreas Kling 2495460f6e LibJS: Prune WeakContainers before freeing HeapBlocks
WeakContainers need to look at the Cell::State bits to know if their
weak pointees got swept by garbage collection. So we must do this before
potentially freeing one or more HeapBlocks by notifying the allocator
that a block became empty.
2021-10-08 19:47:25 +02:00
..
BlockAllocator.cpp LibJS: Make BlockAllocator cache reuse blocks in random order 2021-10-08 00:35:29 +02:00
BlockAllocator.h LibJS: Increase GC heap BlockAllocator cache size 2021-10-08 00:35:29 +02:00
Cell.h LibJS: Put zombie cell tracking code behind a compile-time flag 2021-10-02 16:39:28 +02:00
CellAllocator.cpp LibJS: Use default instead of an empty constructor/destructor 2021-09-16 17:17:13 +02:00
CellAllocator.h LibJS: Use default instead of an empty constructor/destructor 2021-09-16 17:17:13 +02:00
DeferGC.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Handle.cpp LibJS: Move Cell.{cpp,h} from Runtime/ to Heap/ 2021-05-17 19:53:00 +02:00
Handle.h LibJS: Use default instead of an empty constructor/destructor 2021-09-16 17:17:13 +02:00
Heap.cpp LibJS: Prune WeakContainers before freeing HeapBlocks 2021-10-08 19:47:25 +02:00
Heap.h LibJS: Put zombie cell tracking code behind a compile-time flag 2021-10-02 16:39:28 +02:00
HeapBlock.cpp LibJS: Fix ASAN poisoning range in new HeapBlocks 2021-09-11 17:00:07 +02:00
HeapBlock.h LibJS: Instrument HeapBlock cell allocation for ASAN 2021-05-29 17:47:29 +01:00