Website Summary Files Commits Branches @commit @diff @stats
path: root / gctest
NameSize
..
cxxopts.hpp41.6 KiBlog stats plain blame
flat_hash_map137 Blog stats plain
gc.h1.1 KiBlog stats plain blame
gc_leak.cpp566 Blog stats plain blame
genie.lua947 Blog stats plain blame
main.cpp10.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.