mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:58:12 +00:00
![]() 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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CrashTest.cpp | ||
CrashTest.h | ||
JavaScriptTestRunner.h | ||
JavaScriptTestRunnerMain.cpp | ||
Macros.h | ||
Results.h | ||
TestCase.h | ||
TestMain.cpp | ||
TestRunner.h | ||
TestSuite.cpp | ||
TestSuite.h |