Expand description
Forwarding word in object copying.
Constantsยง
- BEING_
FORWARDED ๐ - FORWARDED ๐
- FORWARDING_
BITS ๐ - FORWARDING_
MASK ๐ - FORWARDING_
NOT_ ๐TRIGGERED_ YET - FORWARDING_
POINTER_ ๐MASK
Functionsยง
- attempt_
to_ forward - 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.
- clear_
forwarding_ bits - Zero the forwarding bits of an object. This function is used on new objects.
- debug_
print_ ๐object_ forwarding_ info - forward_
object - Copy an object and set the forwarding state.
- forwarding_
bits_ ๐offset_ in_ forwarding_ pointer - (This function is only used internal to the
utilmodule) - get_
forwarding_ status - Return the forwarding bits for a given
ObjectReference. - is_
being_ ๐forwarded - is_
forwarded - is_
forwarded_ or_ being_ forwarded - read_
forwarding_ pointer - Read the forwarding pointer of an object. This function is called on forwarded/being_forwarded objects.
- spin_
and_ get_ forwarded_ object - Spin-wait for the objectโs forwarding to become complete and then read the forwarding pointer to the new object.
- state_
is_ being_ forwarded - state_
is_ forwarded_ or_ being_ forwarded - write_
forwarding_ pointer - Write the forwarding pointer of an object. This function is called on being_forwarded objects.