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:
parent
3fe1be20b7
commit
cdc1315dc8
5 changed files with 49 additions and 24 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue