摘要 |
PROBLEM TO BE SOLVED: To obtain a virtual machine which can be used for a long period, reused, and extended by allowing a run-time class, needed to place the virtual machine in operable mode, include a common heap to be loaded, linked, verified, initialized, and compiled. SOLUTION: A read-only part 44 is used to store a code which is not characteristic of an application and a read/write part 46 provides a memory area to be read and written by an application 22 or 24 by using proper lock protection for evading a collision. A dedicated heap 30 can be accessed by only the application 22 and a dedicated heap 36 can be accessed by only the application 24, but the common heap 42 can be accessed by both the applications 22 and 24. A runtime class is loaded and linked to the common heap 42 and the virtual machine can, therefore, use it.
|