Macintosh programmers use the term handle to mean a pointer to a pointer.
Java references are usually implemented as handles.
The advantage of a JVM (Java Virtual Machine) that implements Java references as pointers (direct machine addresses) is speed.
The advantage of a JVM that implements Java references as handles (pointers to pointers) is ease of shuffling objects around in RAM (Random Access Memory) to reduce memory fragmentation. Handles allow the thing pointed to be moved and all references are thereby automatically forwarded to the new location. You only need to update one place when the location of the object changes.
This page is posted
Optional Replicator mirror
Please read the feedback from other visitors, or send your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.
Your face IP:[22.214.171.124]
You are visitor number|