专利名称:Byte code instrumentation
发明人:David J. Angel,James R. Kumorek,Farokh
Morshed,David A. Seidel
申请号:US10681834申请日:20031008公开号:US07240335B2公开日:20070703
专利附图:
摘要:Instrumenting a computer program to provide instrumented byte code includesexamining the byte code, selecting portions of the byte code for instrumentation, andinstrumenting the portions to provide instrumented byte code. Selecting the portions
may include choosing portions of the byte code corresponding to method entry, methodexit, a throw, a method call, or a new line number. Instrumenting a portion of the bytecode corresponding to a method call may include instrumenting a local line number ofsource code corresponding to the byte code being instrumented. Instrumenting theportions may include adding calls to instrumentation runtime functions that pass
parameters indicative of the portions being instrumented. At least one of the parametersthat is passed may include a line number of the source code corresponding to theportion being instrumented or a thispointer for the method corresponding to theportion being instrumented. Data from instrumentation may be passed via a messagestream that is viewed as the data is being generated and/or stored.
申请人:David J. Angel,James R. Kumorek,Farokh Morshed,David A. Seidel
地址:Hudson NH US,Nashua NH US,Amherst NH US,Peterborough NH US
国籍:US,US,US,US
代理机构:Muirhead and Saturnelli, LLC
更多信息请下载全文后查看
因篇幅问题不能全部显示,请点此查看更多更全内容