Patent ID: 7458067
Filing Date: 2008-11-25
Classification: G06F

Abstract:
1. A method for optimizing computer program performance by using steered execution, comprising: receiving source code for a computer program; compiling a portion of source code with a first set of optimizations to generate a first compiled portion; compiling the same portion of source code with a second set of optimizations to generate a second compiled portion; compiling remaining source code to generate a third compiled portion, wherein the remaining source code was not compiled with either the first set of optimizations or the second set of optimizations; generating a rule for selecting between the first compiled portion and the second compiled portion; and combining the first compiled portion, the second compiled portion, the third compiled portion, and the rule into an executable output file; During execution of the executable output file, steering execution between the first compiled portion and the second compiled portion based upon the rule; Monitoring an execution parameter during execution of the executable output file; and steering execution between the first compiled portion and the second compiled portion based upon the monitored value of the execution parameter.