1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00
serenity/Libraries/LibJS/Heap
Andreas Kling ab404a2f88 LibJS: Implement basic conservative garbage collection
We now scan the stack and CPU registers for potential pointers into the
GC heap, and include any valid Cell pointers in the set of roots.

This works pretty well but we'll also need to solve marking of things
passed to native functions, since those are currently in Vector<Value>
and the Vector storage is on the heap (not scanned.)
2020-03-16 19:14:09 +01:00
..
Heap.cpp LibJS: Implement basic conservative garbage collection 2020-03-16 19:14:09 +01:00
Heap.h LibJS: Implement basic conservative garbage collection 2020-03-16 19:14:09 +01:00
HeapBlock.cpp LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
HeapBlock.h LibJS: Implement basic conservative garbage collection 2020-03-16 19:14:09 +01:00