Patent ID: 8099729

Claim:
A device configured to execute a virtual machine having a normal mode of operation and a pre-internalization mode of operation, the device comprising: a processor; an input/output device coupled to the processor; and a memory, coupled to the processor and the input/output device, the memory comprising a dynamic memory and a permanent memory and storing instructions executable by the processor, the instructions comprising: a first set of instructions configured for the virtual machine to execute on the processor, a second set of instructions configured for an application manager, the application manager configured: to determine whether a reusable pre-internalized image of a selected program file has been created, wherein the reusable pre-internalized image is capable of being executed, by the processor, 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, to operate the virtual machine in the pre-internalization mode, including: creating the reusable pre-internalized image of the selected program file; and storing the reusable pre-internalized image of the selected program file into the permanent memory, thereby avoiding subsequent internalization of the selected program file for all subsequent program executions; if the reusable pre-internalized image of the selected program file has been stored in the memory, to execute 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 another device, separate from the device and coupled to the device via the input/output device, entering the pre-internalization mode, to copy the reusable pre-internalized image of the selected program file from the other device to the device using the input/output device.