Mechanism for generating an execution log and coverage data for a set of computer code
AssigneeSun Microsystems, Inc.
InventorAleksandr M. Kuzmin
Life of this patent
Estimating the term…
Abstract
An improved mechanism is provided for generating an execution log and coverage data for a set of computer code. To minimize the amount of storage required for storing execution log information, the mechanism: (1) stores only information pertaining to instructions that are actually executed during execution; and (2) stores the information in a hierarchically organized set of lists. In addition, to minimize the impact of execution log and coverage data generation on the execution of the computer code, coverage data is generated after execution has completed. By generating the execution log and coverage data in this manner, storage requirements are reduced, and execution performance is improved.
Claims30
A computer implemented method for generating an execution log, comprising:
- determining, during execution of a set of computer code, an instruction that is executed;
- navigating a hierarchically organized set of one or more lists to access a particular instructions list;
- and
- storing in said particular instructions list an indication that said instruction was executed.
A computer readable medium, comprising:
- instructions for causing one or more processors to determine, during execution of a set of computer code, an instruction that is executed;
- instructions for causing one or more processors to navigate a hierarchically organized set of one or more lists to access a particular instructions list;
- and
- instructions for causing one or more processors to store in said particular instructions list an indication that said instruction was executed.
Dependencies are inferred from the claim text.