Back to results
US 6,295,644 B1Granted
Method and apparatus for patching program text to improve performance of applications
AssigneeHewlett-Packard Company
InventorsWei Hsu, Lacky V. Shah
Life of this patent
Estimating the term…
Abstract
The present invention relates to a method and an apparatus for patching program text to improve performance of applications running on a computer through the elimination of table lookup and emulation.
Claims15
A method of converting signals of program text for improving the performance of an application comprising the steps of:
- (a) profiling information using performance monitor counters;
- (b) running said application in a native state;
- (c) identifying hot traces based on said profiling of said information;
- (d) patching and optimizing an original executable of said application at a first instruction of at least one hot trace;
- (e) transferring control from said first instruction to an optimized trace;
- (f) executing said control of said optimized trace;
- (g) exiting from said optimized trace;
- and
- (h) returning said control to said native state of said application.
6 more elements
An apparatus for converting signals of program text for improving the performance of an application which comprises:
- (a) a module for profiling information using performance monitor counters;
- (b) a module for running said application in a native state;
- (c) a module for identifying hot traces based on said profiling of said information;
- (d) a module for patching an original executable of said application at a first instruction of at least one hot trace;
- (e) a module for transferring control from said first instruction to an optimized trace;
- (f) a module for executing said control of said optimized trace;
- (g) a module for exiting from said optimized trace;
- and
- (h) a module for returning said control to said native state of said application.
6 more elements
An article of manufacture having a computer readable code module for converting signals of program text for improving the performance of an application which comprises:
- (a) a module for profiling information using performance monitor counters;
- (b) a module for running said application in a native state;
- (c) a module for identifying hot traces based on said profiling of said information;
- (d) a module for patching an original executable of said application at a first instruction of at least one hot trace;
- (e) a module for transferring control from said first instruction to an optimized trace;
- (f) a module for executing said control of said optimized trace;
- (g) a module for exiting from said optimized trace;
- and
- (h) a module for returning said control to said native state of said application.
6 more elements
Dependencies are inferred from the claim text.