Patent · US Expired

System and method for characterizing program behavior by sampling at selected program points

US7103877B1 · kind B1 · utility

38Cited by
11References
36Claims
0Family size

Assignee

Inventors

Key dates

Filing dateNov 1, 2000
Grant dateSep 5, 2006
Priority date
Expiry dateAug 4, 2022

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2201/88
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.