SYSTEM AND METHOD FOR CHARACTERIZING PROGRAM BEHAVIOR BY SAMPLING AT SELECTED PROGRAM POINTS
Patent №
US 7,103,877
Granted
2006-09-05
Filed 2000
Owner
INTERNATIONAL BUSINESS MACHINES CORPORATION
Lab
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
09703527
A system and method for characterizing runtime behavior of a computer program executing in an execution environment, the method comprising: identifying one or more instances of yield points in a program to be executed, each yield point indicating a potential sampling operation during program execution; during program execution, in response to an identified yield point instance, ascertaining a state of the execution environment for indicating whether a sampling operation is to be performed; and, when the state of the execution environment indicates a sampling operation, recording relevant information for characterizing behavior of the execution environment. Relevant information for characterizing program behavior includes frequencies of methods executed in the program, and calling context associated with methods called by the program. Different mechanisms are provided for determining the sampling condition including the setting of a trigger bit by a runtime system, or, determining a sampling operations based on a fixed percentage of all executed yield points taken.
AI classification
Ownership
INTERNATIONAL BUSINESS MACHINES CORPORATION
assignment · 113080658
Assignors
ARNOLD, MATTHEW R., FINK, STEPHEN J., GROVE, DAVID P., HIND, MICHAEL J., SWEENEY, PETER F.
On an employer assignment, the assignors are typically the inventors.