1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 23:47:43 +00:00
serenity/Libraries/LibJS
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
..
Heap LibJS: Always collect all garbage when destroying Heap 2020-03-23 14:11:19 +01:00
Runtime LibJS: Use rand() for Math.random() on other systems 2020-03-23 13:14:04 +01:00
AST.cpp LibJS: Use FlyString for identifiers 2020-03-22 13:03:43 +01:00
AST.h LibJS: Use FlyString for identifiers 2020-03-22 13:03:43 +01:00
Forward.h LibJS: Add Handle<T>, a strong C++ handle for keeping GC objects alive 2020-03-18 20:03:17 +01:00
Interpreter.cpp LibJS: Use FlyString for identifiers 2020-03-22 13:03:43 +01:00
Interpreter.h LibJS: Use FlyString for identifiers 2020-03-22 13:03:43 +01:00
Lexer.cpp LibJS: Teach the lexer to recognize ">=" and "<=" :^) 2020-03-23 14:10:23 +01:00
Lexer.h LibJS: Lex single quote strings, escaped chars and unterminated strings 2020-03-14 12:13:53 +01:00
Makefile LibJS: Add Math.random() :^) 2020-03-21 17:52:12 +01:00
Parser.cpp LibJS: Use FlyString for identifiers 2020-03-22 13:03:43 +01:00
Parser.h LibJS: Parse "if" statements 2020-03-21 18:40:17 +01:00
Token.cpp LibJS: Parse object expressions 2020-03-21 10:08:58 +01:00
Token.h LibJS: Parse object expressions 2020-03-21 10:08:58 +01:00