Apparatus and method for executing program using just-in time-compiler system
First Claim
1. An apparatus having an execution unit for executing a machine language, compiling a source program into a machine language directly executable by the execution unit, and executing the machine language in a just-in-time-compiler system, comprising:
- a storage unit storing for each function a machine language executable by the execution unit obtained by compiling a function described in the source program, and maintaining stored data although a power supply voltage has dropped;
a compiling unit compiling the source program into a machine language executable by the execution unit;
a storage control unit storing the machine language compiled by said compiling unit;
a determination unit determining whether or not a machine language obtained by compiling a function used in the source program is stored in said storage unit; and
an execution control unit instructing the execution unit to directly execute either a machine language compiled by said compiling unit or a machine language stored in said storage unit depending on a determination result obtained by said determination unit.
1 Assignment
0 Petitions
Accused Products
Abstract
A program execution device includes: a storage unit storing for each function a machine language executable by an execution unit obtained by compiling a function described in a source program, and maintaining the stored data although a power supply voltage has dropped; a compiling unit compiling the source program into a machine language executable by the execution unit; a storage control unit storing the machine language compiled by the compiling unit; a determination unit determining whether or not a machine language obtained by compiling a function used in the source program is stored in the storage unit; and an execution control unit instructing the execution unit to directly execute either a machine language compiled by the compiling unit or a machine language stored in the storage unit depending on the determination result obtained by the determination unit.
-
Citations
17 Claims
-
1. An apparatus having an execution unit for executing a machine language, compiling a source program into a machine language directly executable by the execution unit, and executing the machine language in a just-in-time-compiler system, comprising:
-
a storage unit storing for each function a machine language executable by the execution unit obtained by compiling a function described in the source program, and maintaining stored data although a power supply voltage has dropped;
a compiling unit compiling the source program into a machine language executable by the execution unit;
a storage control unit storing the machine language compiled by said compiling unit;
a determination unit determining whether or not a machine language obtained by compiling a function used in the source program is stored in said storage unit; and
an execution control unit instructing the execution unit to directly execute either a machine language compiled by said compiling unit or a machine language stored in said storage unit depending on a determination result obtained by said determination unit. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus having an execution unit for executing a machine language, compiling a source program into a machine language directly executable by the execution unit, and executing the machine language in a just-in-time-compiler system, comprising:
-
a storage unit storing for each function a machine language executable by the execution unit obtained by compiling a function described in the source program, and maintaining stored data after the source program has been executed;
a compiling unit compiling the source program into a machine language executable by the execution unit;
a storage control unit storing the machine language compiled by said compiling unit corresponding to update date and time of the source program compiled by said compiling unit;
a determination unit determining whether or not the update date and time of the source program matches an update date and time corresponding to the machine language stored in said storage unit; and
an execution control unit instructing the execution unit to directly execute either a machine language compiled by said compiling unit or a machine language stored in said storage unit depending on a determination result obtained by said determination unit. - View Dependent Claims (6, 7)
-
-
8. An apparatus having execution means for executing a machine language, compiling a source program into a machine language directly executable by said execution means, and executing the machine language in a just-in-time-compiler system, comprising:
-
storage means for storing for each function a machine language executable by the execution means obtained by compiling a function described in the source program, and maintaining stored data although a power supply voltage has dropped;
compiling means for compiling the source program into a machine language executable by the execution means;
storage control means for storing the machine language compiled by said compiling means;
determination means for determining whether or not a machine language obtained by compiling a function used in the source program is stored in said storage means; and
execution control means for instructing the execution means to directly execute either a machine language compiled by said compiling means or a machine language stored in said storage means depending on a determination result obtained by said determination means.
-
-
9. An apparatus having execution means for executing a machine language, compiling a source program into a machine language directly executable by the execution means, and executing the machine language in a just-in-time-compiler system, comprising:
-
storage means for storing for each function a machine language executable by the execution means obtained by compiling a function described in the source program, and maintaining stored data after the source program has been executed;
compiling means for compiling the source program into a machine language executable by the execution means;
storage control means for storing the machine language compiled by said compiling means corresponding to update date and time of the source program compiled by said compiling means;
determination means for determining whether or not the update date and time of the source program matches an update date and time corresponding to the machine language stored in said storage means; and
execution control means instructing the execution means to directly execute either a machine language compiled by said compiling means or a machine language stored in said storage means depending on a determination result obtained by said determination means.
-
-
10. A method for executing a program based on a just-in-time-compiler system for compiling a source program into a machine language directly executable on a platform of a specific processing system, and executing the machine language, comprising:
-
storing in a storage unit, which maintains stored data although a supply voltage has dropped, the machine language obtained by compiling the source program for each function expressed in the source program;
determining whether or not the machine language obtained by compiling the function described in the source program is stored in the storage unit; and
setting either the machine language obtained by compiling the source program or the machine language stored in the storage unit to be directly executed on a platform of a specific processing system based on a determination result.
-
-
11. A method for executing a program based on a just-in-time-compiler system for compiling a source program into a machine language directly executable on a platform of a specific processing system, and executing the machine language, comprising:
-
storing the machine language obtained by compiling the source program for each function described in the source program corresponding to an update date and time of the source program before compiled into a machine language;
determining whether or not the date and time of the update of the source program matches an update date and time corresponding to the stored machine language; and
setting either the machine language obtained by compiling the source program or the machine language stored in the storage unit to be directly executed on a platform of a specific processing system based on a determination result.
-
-
12. A computer-readable storage medium storing a computer program used to direct a computer based on a just-in-time-compiler system to compile a source program into a machine language directly executable on a platform of a specific processing system, and execute the machine language, comprising:
-
storing in a storage unit, which maintains stored data although a supply voltage has dropped, the machine language obtained by compiling the source program for each function expressed in the source program;
determining whether or not the machine language obtained by compiling the function described in the source program is stored in the storage unit; and
setting either the machine language obtained by compiling the source program or the machine language stored in the storage unit to be directly executed on a platform of a specific processing system based on a determination result.
-
-
13. A computer-readable storage medium storing a computer program used to direct a computer based on a just-in-time-compiler system to compile a source program into a machine language directly executable on a platform of a specific processing system, and execute the machine language, comprising:
-
storing the machine language obtained by compiling the source program for each function described in the source program corresponding to an update date and time of the source program before compiled into a machine language;
determining whether or not the date and time of the update of the source program matches an update date and time corresponding to the stored machine language; and
setting either the machine language obtained by compiling the source program or the machine language stored in the storage unit to be directly executed on a platform of a specific processing system based on a determination result.
-
-
14. A computer program embodied on a transmission medium used to direct a computer based on a justin-time-compiler system to compile a source program into a machine language directly executable on a platform of a specific processing system, and execute the machine language, comprising:
-
storing in a storage unit, which maintains stored data although a supply voltage has dropped, the machine language obtained by compiling the source program for each function expressed in the source program;
determining whether or not the machine language obtained by compiling the function described in the source program is stored in the storage unit; and
setting either the machine language obtained by compiling the source program or the machine language stored in the storage unit to be directly executed on a platform of a specific processing system based on a determination result.
-
-
15. A computer program embodied on a transmission medium used to direct a computer based on a just-in-time-compiler system to compile a source program into a machine language directly executable on a platform of a specific processing system, and execute the machine language, comprising:
-
storing the machine language obtained by compiling the source program for each function described in the source program corresponding to an update date and time of the source program before compiled into a machine language;
determining whether or not the date and time of the update of the source program matches an update date and time corresponding to the stored machine language; and
setting either the machine language obtained by compiling the source program or the machine language stored in the storage unit to be directly executed on a platform of a specific processing system based on a determination result.
-
-
16. A computer data signal embodied in a carrier wave containing a computer program used to direct a computer based on a just-in-time-compiler system to compile a source program into a machine language directly executable on a platform of a specific processing system, and execute the machine language, said computer program comprising:
-
storing in a storage unit, which maintains stored data although a supply voltage has dropped, the machine language obtained by compiling the source program for each function expressed in the source program;
determining whether or not the machine language obtained by compiling the function described in the source program is stored in the storage unit; and
setting either the machine language obtained by compiling the source program or the machine language stored in the storage unit to be directly executed on a platform of a specific processing system based on a determination result.
-
-
17. A computer data signal embodied in a carrier wave containing a computer program used to direct a computer based on a just-in-time-compiler system to compile a source program into a machine language directly executable on a platform of a specific processing system, and execute the machine language, said computer program comprising:
-
storing the machine language obtained by compiling the source program for each function described in the source program corresponding to an update date and time of the source program before compiled into a machine language;
determining whether or not the date and time of the update of the source program matches an update date and time corresponding to the stored machine language; and
setting either the machine language obtained by compiling the source program or the machine language stored in the storage unit to be directly executed on a platform of a specific processing system based on a determination result.
-
Specification