Patents
US 7,536,680 B2#2589640 Most CitedExpiredUnited States (USPTO)Utility

Method for modifying a class file to monitor data flow

28Forward Citations (#2589640 Global)
1.6/yrCitation Velocity (#2985434 Global)
2.70Citation PageRank (#8976619 Global)
15Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for modifying a class file to monitor data flow is 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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 28.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for modifying a class file to monitor data flow, comprising the steps of: interrogating the class file, before performing any modifications, in order to obtain a count of arguments and a type of each argument used by the class file; instrumenting performance monitoring instructions or references into the class file to monitor the performance of the class file, by performing at least the following: inserting into a constant pool for a class, one or more references to a set of methods in an instrumentation class; adding one or more lines of code to report incoming a

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (2)

  • BIT: A Tool for Instrumenting Java Bytecodes (1997) pp. 1-3 (http://citeseer.nj.nec.com/lee97bit.html).
  • Lance, Don et al. "Bytecode-based Java Program Analysis." ACM. 1999.