Patent ID: 8321850

Claim:
A method of caching computer code from an application program comprising a plurality of modules that each comprise a separately loadable file, the method performed on a computer system comprising non-volatile memory and volatile memory, the method comprising: (a) receiving native code comprising at least a portion of a single module of the application program; (b) storing runtime data corresponding to the native code in a cache data file in the non-volatile memory, wherein the runtime data comprises profile information separate from the native code; (b′) validating the cache data file with the native code based on the stored runtime data; (c) converting the cache data file into a code cache file, wherein the converting comprises using the profile information to write the native code into the code cache file; (d) enabling the code cache file to be pre-loaded as a runtime code cache; and (e) repeating (a) through (d), to store a plurality of separate code cache files at different locations in the non-volatile memory.