Module mmtk::util::object_forwarding
source · Expand description
Forwarding word in object copying.
Constants§
Functions§
- Attempt to become the worker thread who will forward the object. The successful worker will set the object forwarding bits to BEING_FORWARDED, preventing other workers from forwarding the same object.
- Zero the forwarding bits of an object. This function is used on new objects.
- Copy an object and set the forwarding state.
- (This function is only used internal to the
util
module) - Return the forwarding bits for a given
ObjectReference
. - Read the forwarding pointer of an object. This function is called on forwarded/being_forwarded objects.
- Spin-wait for the object’s forwarding to become complete and then read the forwarding pointer to the new object.
- Write the forwarding pointer of an object. This function is called on being_forwarded objects.