pub fn harness_begin<VM: VMBinding>(mmtk: &MMTK<VM>, tls: VMMutatorThread)
Expand description

Generic hook to allow benchmarks to be harnessed. We do a full heap GC, and then start recording statistics for MMTk.

Arguments:

  • mmtk: A reference to an MMTk instance.
  • tls: The thread that calls the function (and triggers a collection).