System and method are described for program analysis with data caching.
Briefly described, in architecture, the system can be implemented as
follows. The present invention for program analysis with data caching
includes a counter for tracking each time on of a plurality of blocks of
code in the computer program is executed. A counter cache stores the
plurality of counters of the plurality of blocks of code that are most
recently executed. A storage area stores a plurality of counters of the
plurality of blocks of code that are not most recently executed code.