handle : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

handle
To do whatever action is necessary to deal with an event. An event handler decides what kind of event has come in and calls the corresponding more specific action routine to handle the event.

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
on the web at:

http://mindprod.com/jgloss/handle.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\handle.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.137.198.143]
You are visitor number