Patent ID: 9141414
Filing Date: 2015-09-22
Classification: G06F

Abstract:
1. A computer-implemented method comprising: detecting, at a computer system, a request to start up a computer program comprising a plurality of code entities; commencing interpreting code entities of the computer program; comparing a numeric value associated with a first code entity from the plurality of code entities with a first threshold value, the first code entity lacking an annotation indicating that the code entity was compiled during a previous run of the computer program; based on a result of the comparing, designating the first code entity for compilation at a next compilation tier; compiling the first code entity using a level of optimization associated with the next compilation tier; and examining a second code entity from the plurality of code entities and detecting an annotation provided with the second code entity indicating that the second code entity was compiled during the previous run of the computer program; in response to the detecting of the annotation provided with the second code entity, selecting a second threshold value from a plurality of threshold values, wherein the second threshold value is the lowest or the highest value from the plurality of threshold values; based on a result of comparing a numeric value associated with the second code entity with the second threshold value, designating the second code entity for compilation at a next compilation tier.