mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-12 03:01:04 +00:00
Previously we would iterate over all the live HeapBlocks in order to learn if an arbitrary pointer-sized value was a pointer into a live HeapBlock. This was quite time-consuming. Instead of that, just put all the live HeapBlock*'s in a HashTable and identify pointers by doing a bit-masked lookup into the table. |
||
|---|---|---|
| .. | ||
| Allocator.cpp | ||
| Allocator.h | ||
| DeferGC.h | ||
| Handle.cpp | ||
| Handle.h | ||
| Heap.cpp | ||
| Heap.h | ||
| HeapBlock.cpp | ||
| HeapBlock.h | ||