摘要 |
PROBLEM TO BE SOLVED: To provide a program executing device with small memory capacity to be required. SOLUTION: When a certain method is called from a host module, whether or not a byte code of the called method is expanded and stored in an expanded byte code storage area is checked (S2). When no byte code is expanded (NO in S2), a byte code stored in a compressed byte code storage area is expanded (S4) and the byte code after expansion is stored in the expanded byte code storage area (S6). A value of an expanded flag is changed to be on to indicate that a compressed byte code of the method is expanded (S8). The expanded byte code is executed as interpreting it by every instruction by using an interpreter (S10). After that, a processing to restore to a module on the calling side is performed (S12).
|