Patents
US 7,484,209 B2#4594355 Most CitedExpiredUnited States (USPTO)Utility

Instrumenting java code by modifying bytecodes

19Forward Citations (#4594355 Global)
1.1/yrCitation Velocity (#5676126 Global)
2.90Citation PageRank (#7999752 Global)
36Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method of instrumenting a method of a class by modifying bytecodes is disclosed. The method comprises: providing an interface, by which the method can be selected; inserting bytecodes that will be executed when the selected method is called; and providing an interface, through the inserted bytecodes can pass information about the method.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for execution by at least one processor, the method comprising: communicating with a first interface to identify classes and selecting at least one method of said classes for instrumentation; installing hooks in the selected at least one method with instrumentation tools, said instrumentation tools reading and writing the classes in order to produce modified classes; inserting instrumentation code in a bytecode representation of the selected at least one method without modifying a source code of the selected at least one method, said hooks enabling said inserting of the instrumentatio

Technical Overview & Description

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

Non-Patent Literature (5)

  • Arnold, et al. "Approximating the Calling Context Tree via Sampling" IBM Research Report. Jul. 7, 2000.
  • Berndl, et al., "Dynamic Profiling and Trace Cache Generation", 2003, IEEE, p. 276-285.
  • Brown, Keith. "Building a Lightweight COM Interception Framework Part 1: The Universal Delegator." Microsoft Systems Journal. Jan. 1999.
  • C. Hawblitzel, C.-C. Chang, G. Czajkowski, D. Hu, and T. von Eicken. "Implementing Multiple Protection Domains in Java". Proceedings of the 1998 USENIX Annual Technical Conf., pp. 259-270, 1998.
  • CFParkse <http://www.alphaworks.ibm.com/tech.cfparse>. Apr. 30, 1999. Accessed Aug. 15, 2003.