Patent ID: 8726249

Claim:
A bootup device for an application program, the bootup device being located on a mobile equipment, comprising: an application management module, a virtual machine module, a JIT compiler module, and a storage management module connected to an external storage; wherein the application management module is configured to boot up a virtual machine module based on the application program to be run, and control the virtual machine module to execute codes of the application program; the virtual machine module is configured to call the storage management module to respectively load the codes of the application program and Just in Time (JIT) compilation results of a bootup process of the application program into a memory, and search for, in the JIT compilation results, local JIT compiled codes corresponding to the code segment of the bootup process to be executed and execute the found local JIT compiled codes in execution of a code segment of the bootup process of the application program, so that the bootup speed of the application program is increased; the virtual machine module is further configured to notify, when no local JIT compiled codes corresponding to the code segment of the bootup process to be executed is found in the JIT compilation results, the JIT compiler module to JIT compile the code segment of the bootup process to be executed, and interpretively execute the code segment of the bootup process to be executed; the JIT compiler module is configured to JIT compile, according to the notification of the virtual machine module, the code segment of the bootup process to be executed when confirming that there is remaining memory space in the virtual machine module; and the storage management module is configured to store and read the codes of the application program and the JIT compilation results obtained from JIT compilation of the bootup process of the application program, wherein the JIT compilation results comprise JIT compiled codes corresponding to a JIT compiled code segment of the bootup process; and at the end of the execution of the bootup process of the application program, when it is determined that JIT compilation is performed during the execution of the bootup process of the application program, to store the JIT compiled codes corresponding to the bootup process of the application program in the external storage.