Patent ID: 8875114

Claim:
A computer program product for facilitating optimization of a processing environment, said computer program product comprising: a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: determining by a processing platform of the processing environment that a static memory object has been marked with an identifier as a prior indication that a compiled version of the static memory object is to be cached, wherein said static memory object has been marked by an operating system of the processing environment based on the operation system predetermining that the static memory object is to be assigned the identifer indicating that a compiled version of the static memory object is to be cached, and wherein said static memory object has been marked with the identifier prior to compilation or translation of the static memory object, the static memory object comprising a code segment to be executed, and wherein said identifier is not tied to a location of the static memory object; and based on the determining, saving one or more aspects of an internal state of the processing platform and said identifier in a saved area to optimize access of the static memory object, wherein the saved area comprises a code cache of identified compiled code segments, said code cache being separate from a cache of compiled versions of frequently executed code segments, and said identified compiled code segments comprising a compiled version of the identified static memory object.