Method and device for creating and using pre-internalized program files
First Claim
1. A process for operating a virtual machine having a normal mode of operation and a pre-internalization mode of operation, comprising:
- selecting a program file from a set of available program files to identify a selected program file;
determining whether a reusable pre-internalized image of the selected program file has been created, wherein the reusable pre-internalized image is capable of being executed without any further internalization of the selected program file prior to execution by any subsequent invocation of the virtual machine;
if a reusable pre-internalized image of the selected program file has not been created, selectively operating the virtual machine in the pre-internalization mode, comprising;
creating the reusable pre-internalized image of the selected program file; and
storing the reusable pre-internalized image of the selected program file into a permanent memory, thereby avoiding subsequent internalization of the selected program file for all subsequent program executions;
and wherein the virtual machine executes within a first device and the process further comprises;
if the reusable pre-internalized image of the selected program file is available within the first device, executing the reusable pre-internalized image of the selected program file without internalizing the reusable pre-internalized image of the selected program file prior to execution, and if the reusable pre-internalized image of the selected program file is available within a second device, separate from the first device, entering the pre-internalization mode, copying the reusable pre-internalized image of the selected program file from the second device to the first device, and updating memory addresses within the reusable pre-internalized image of the selected program file.
19 Assignments
0 Petitions
Accused Products
Abstract
A device (45) receives new program files (46) and uses pre-internalized images to avoid having to internalize a program file every time that program execution occurs. In one embodiment, a software Virtual Machine (50) in the device functions to implement the pre-internalization. Once the program files are pre-internalized to create images that are stored in a permanent memory (56) of the device, the images may subsequently be executed without having to perform a pre-internalization operation. Additionally, use of dynamic memory (52) is reduced in connection with subsequent program execution and execution time of new program files is reduced.
-
Citations
15 Claims
-
1. A process for operating a virtual machine having a normal mode of operation and a pre-internalization mode of operation, comprising:
-
selecting a program file from a set of available program files to identify a selected program file; determining whether a reusable pre-internalized image of the selected program file has been created, wherein the reusable pre-internalized image is capable of being executed without any further internalization of the selected program file prior to execution by any subsequent invocation of the virtual machine; if a reusable pre-internalized image of the selected program file has not been created, selectively operating the virtual machine in the pre-internalization mode, comprising; creating the reusable pre-internalized image of the selected program file; and storing the reusable pre-internalized image of the selected program file into a permanent memory, thereby avoiding subsequent internalization of the selected program file for all subsequent program executions; and wherein the virtual machine executes within a first device and the process further comprises; if the reusable pre-internalized image of the selected program file is available within the first device, executing the reusable pre-internalized image of the selected program file without internalizing the reusable pre-internalized image of the selected program file prior to execution, and if the reusable pre-internalized image of the selected program file is available within a second device, separate from the first device, entering the pre-internalization mode, copying the reusable pre-internalized image of the selected program file from the second device to the first device, and updating memory addresses within the reusable pre-internalized image of the selected program file. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A device capable of executing a virtual machine having a pre-internalization mode of operation, comprising:
-
a processor for executing instructions; a permanent memory coupled to the processor for providing instructions and data to the processor, the permanent memory comprising the virtual machine, the virtual machine comprising; a first set of one or more instructions, the first set of one or more instructions when executed determining whether a pre-internalized image of a selected program file has been created, wherein the pre-internalized image of the selected program file is capable of being executed without any further internalization of the selected program file prior to execution by any subsequent invocation of the virtual machine; a second set of one or more instructions, the second set of one or more instructions when executed by the processor operating the virtual machine in the pre-internalization mode, wherein the second set of one or more instructions is executed if the pre-internalized image of the selected program file has not been created; a third set of one or more instructions, the third set of one or more instructions when executed by the processor creating the pre-internalized image of the selected program file, wherein the third set of one or more instructions corresponds to the pre-internalization mode of operation; and a fourth set of one or more instructions, the fourth set of one or more instructions when executed by the processor storing the pre-internalized image of the selected program file into the permanent memory, wherein the fourth set of one or more instructions correspond to the pre-internalization mode of operation. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
Specification