1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 16:55:09 +00:00
serenity/Libraries/LibJS/Heap
Andreas Kling b2f005125d LibJS: Always collect all garbage when destroying Heap
When the Heap is going down, it's our last chance to run destructors,
so add a separate collector mode where we simply skip over the marking
phase and go directly to sweeping. This causes everything to get swept
and all live cells get destroyed.

This way, valgrind reports 0 leaks on exit. :^)
2020-03-23 14:11:19 +01:00
..
Handle.cpp LibJS: Add missing copyright headers 2020-03-18 20:21:06 +01:00
Handle.h LibJS: Add missing copyright headers 2020-03-18 20:21:06 +01:00
Heap.cpp LibJS: Always collect all garbage when destroying Heap 2020-03-23 14:11:19 +01:00
Heap.h LibJS: Always collect all garbage when destroying Heap 2020-03-23 14:11:19 +01:00
HeapBlock.cpp LibJS: Port garbage collector to Linux 2020-03-23 13:14:57 +01:00
HeapBlock.h LibJS: Implement basic conservative garbage collection 2020-03-16 19:14:09 +01:00