Website Summary Files Commits Branches @commit @diff @stats
path: root / gctest
NameSize
..
.clang-format3.9 KiBlog stats plain blame
README.md626 Blog stats plain blame
cxxopts.hpp41.6 KiBlog stats plain blame
flat_hash_map137 Blog stats plain
gc.h1.3 KiBlog stats plain blame
gc_dummy.cpp1.6 KiBlog stats plain blame
gc_leak.cpp559 Blog stats plain blame
genie.lua1.2 KiBlog stats plain blame
main.cpp11.1 KiBlog stats plain blame
minitrace350 Blog stats plain
weighted_action.h871 Blog 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

  1. Implement the GarbageCollector interface from gc.h and the factory function
  2. Add a new target in the genie.lua project

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.