ladybird/Userland/Libraries/LibJS/Heap
Andreas Kling 83bd675477 LibJS: Make WeakContainer pruning do less work
Instead of iterating *all* swept cells when pruning weak containers,
only iterate the cells actually *in* the container.

Also, instead of compiling a list of all swept cells, we can simply
check the Cell::state() flag to know if something should be pruned.
2021-10-05 18:52:00 +02:00
..
BlockAllocator.cpp LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
BlockAllocator.h LibJS: Add inline capacity to BlockAllocator's blocks Vector 2021-05-28 00:07:24 +01: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: Make WeakContainer pruning do less work 2021-10-05 18:52:00 +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