1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:47:35 +00:00

LibJS: Use IntrusiveList for keeping track of WeakContainers

This commit is contained in:
Andreas Kling 2021-07-21 19:57:41 +02:00
parent 3fe1be20b7
commit cdc1315dc8
5 changed files with 49 additions and 24 deletions

View file

@ -19,6 +19,7 @@
#include <LibJS/Heap/CellAllocator.h>
#include <LibJS/Heap/Handle.h>
#include <LibJS/Runtime/Object.h>
#include <LibJS/Runtime/WeakContainer.h>
namespace JS {
@ -111,7 +112,7 @@ private:
MarkedValueList::List m_marked_value_lists;
HashTable<WeakContainer*> m_weak_containers;
WeakContainer::List m_weak_containers;
BlockAllocator m_block_allocator;