Implementation of references
- A reference is represented by the (virtual) address of the
first word reserved for the object.
- Copying a reference is implemented by copying the address (just
one word).
- Testing if two objects are the same (identity test) is implemented
by comparing theirs addresses.
- References are only valid inside the process owning the object.
How should a reference be represented in a distributed language?
- 2 -