Module mmtk::vm::slot

source ·
Expand description

This module provides the trait Slot and related traits and types which allow VMs to customize the layout of slots and the behavior of loading and updating object references in slots.

Structs§

Traits§

  • A abstract memory slice represents a piece of heap memory which may contains many slots.
  • A Slot represents a slot in an object (a.k.a. a field), on the stack (i.e. a local variable) or any other places (such as global variables). A slot may hold an object reference. We can load the object reference from it, and we can update the object reference in it after the GC moves the object.