| Name | Size | |
|---|---|---|
| .. | ||
| .clang-format | 3.9 KiB | log stats plain blame |
| README.md | 626 B | log stats plain blame |
| cxxopts.hpp | 41.6 KiB | log stats plain blame |
| flat_hash_map | 137 B | log stats plain |
| gc.h | 1.3 KiB | log stats plain blame |
| gc_dummy.cpp | 1.6 KiB | log stats plain blame |
| gc_leak.cpp | 559 B | log stats plain blame |
| genie.lua | 1.2 KiB | log stats plain blame |
| main.cpp | 11.1 KiB | log stats plain blame |
| minitrace | 350 B | log stats plain |
| weighted_action.h | 871 B | log stats plain blame |
GC Test Bench
A program to stress test garbage collector implementations.
Building
The program is implemented as a static library, that has to be linked together with the garbage collector implementation to produce a test program.
Adding a new Garbage Collector implementation
- Implement the
GarbageCollectorinterface fromgc.hand the factory function - Add a new target in the
genie.luaproject
Running
Running the program produces a program.json that can be open in
chrome://tracing to allow analysis of the mutator vs garbage collector CPU
usage and memory usage.
