发明名称 Method and system for modifying a class file to monitor data flow
摘要 A method and system for modifying a class file to monitor data flow are provided. The method includes selecting (401) one or more methods in the class file and adding (206, 209) one or more lines of code to report incoming arguments and return values, if any, in the selected method. The incoming arguments and return values are reported (405, 410) to an instrumentation interface which may be an instrumentation class defining methods for each type of argument in the method. The one or more lines of code pass the incoming arguments and return values to the appropriate instrumentation class method. The method may produce a profile of data flow including a record of incoming arguments and return values, if any, for one or more methods in a class file. The record can include data describing the types and values of arguments and return values and their distribution.
申请公布号 US2004031020(A1) 申请公布日期 2004.02.12
申请号 US20020334888 申请日期 2002.12.31
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BERRY ROBERT FRANCIS;STEVENS ALAN PETTER
分类号 G06F9/44;G06F9/45;G06F11/34;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址