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 |
http://mindprod.com/jgloss/handle.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\handle.html | |
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. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.137.198.143] |
| |
Feedback |
You are visitor number | |