Patent ID: 7730464

Claim:
A method, comprising: receiving information regarding managed code, wherein the information comprises an analysis from a loader module indicating whether a native image component of the managed code is reliably executable in a managed execution environment, and wherein the analysis accounts for at least one change associated with the managed code or the managed execution environment after an install time associated with the managed code, and wherein the at least one change comprises at least one of: a processor change, a security setting change of the managed code or the managed execution environment, new profile data, an upgrade or version change to the managed code or the managed execution environment, a component change of the managed execution environment, a change in an assemblage of code associated with the managed code, or a context change in the managed execution environment; predicting a usage model for the managed code based on the information, wherein the usage model includes a timing of execution for the managed code in the managed execution environment; scheduling a compilation of at least a portion of the managed code based on the usage model; and performing the scheduled compilation.