Getting Started: VMKit and MMTk

This page gives you the instructions on how to build VMKit with MMTk's Mark and Sweep Garbage Collector.

  1. Checkout and build LLVM-GCC from SVN head.
  2. Update PATH to include the llvm-gcc binary.
  3. Re-configure LLVM.
  4. Configure VMKit with two additional options: --with-gc=mmtk and --with-llvmgcc.
  5. Clean and make VMKit (do that each time you change the source code of VMKit):
  6. Run VMKit with MMTk: