mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:18:14 +00:00
LibJS: GC: Remove clear_all_mark_bits()
Clearing all marked flags has been integrated into the sweep function, saving an additional full iteration over the heap.
This commit is contained in:
parent
b956e2d939
commit
1207187e97
2 changed files with 7 additions and 14 deletions
|
@ -58,7 +58,6 @@ private:
|
|||
|
||||
void collect_roots(HashTable<Cell*>&);
|
||||
void visit_live_cells(const HashTable<Cell*>& roots, HashTable<Cell*>& live_cells);
|
||||
void clear_all_mark_bits();
|
||||
void mark_live_cells(const HashTable<Cell*>& live_cells);
|
||||
void sweep_dead_cells();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue