Files
ladybird/Userland/Utilities
Andreas Kling c364520c24 LibJS+js+test-js: Add GC debug mode that keeps cells "alive" as zombies
This patch adds a `-z` option to js and test-js. When run in this mode,
garbage cells are never actually destroyed. We instead keep them around
in a special zombie state.

This allows us to validate that zombies don't get marked in future GC
scans (since there were not supposed to be any more references!) :^)

Cells get notified when they become a zombie (via did_become_zombie())
and this is used by WeakContainer cells to deregister themselves from
the heap.
2021-09-11 16:52:03 +02:00
..
2021-08-01 19:26:57 +04:30
2021-08-18 20:30:46 +02:00
2021-08-15 12:20:38 +02:00
2021-09-07 13:53:14 +02:00
2021-05-05 15:12:30 +01:00
2021-08-22 16:51:18 +02:00
2021-07-09 20:15:40 +02:00
2021-09-11 15:16:26 +01:00
2021-06-13 17:05:48 +01:00
2021-08-01 08:10:16 +02:00