Function mmtk::memory_manager::harness_begin[][src]

pub fn harness_begin<VM: VMBinding>(mmtk: &MMTK<VM>, tls: OpaquePointer)

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).