Patents
US 8,566,800 B2#13845089 Most CitedActiveUnited States (USPTO)Utility

Detection of method calls to streamline diagnosis of custom code through dynamic instrumentation

8Forward Citations (#13845089 Global)
0.6/yrCitation Velocity (#12865855 Global)
1.54Citation PageRank (#21865712 Global)
45Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A technique for analyzing software in which un-instrumented components can be discovered and dynamically instrumented during a runtime of the software. Initially, an application configured with a baseline set of instrumented components such as methods. As the application runs, performance data is gathered from the instrumentation, and it may be learned that the performance of some methods is an issue. To analyze the problem, any methods which are callable from a method at issue are discovered by inspecting the byte code of loaded classes in a JAVA Virtual Machine (JVM). Byte code of the class is parsed to identify opcodes which invoke byte code to call other methods. An index to an entry in a constants pool table is identified based on an opcode. A decision can then be made to instrument and/or report the discovered methods.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method, comprising: identifying a method to analyze in an application; determining a class of the method to analyze from among loaded classes in memory; loading a byte code representation of the class of the method to analyze from a resource location; parsing the byte code representation of the class of the method to analyze, the parsing identifies an instance of an invoke byte code in the byte code representation of the class of the method to analyze; based on the instance of the invoke byte code in the byte code representation of the class of the method to analyze, ide

Technical Overview & Description

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

References Cited — Backward Prior Art (45)

PatentTitleYearCitations
US 5,689,709 AMethod and system for invoking methods of an object199729
US 6,470,494 B1Class loader2002124
US 2002199172 A1Dynamic instrumentation event trace system and methods—269
US 2003115584 A1Method and system to instrument virtual function calls—37
US 2003149960 A1Flexible and extensible java bytecode instrumentation system—91
US 2003163608 A1Instrumentation and workload recording for a system for performance testing of N-tiered computer systems using recording and playback of workloads—83
US 2004078691 A1Transaction tracer—110
US 2004133882 A1Byte code instrumentation—116
US 2004163077 A1Apparatus and method for dynamic instrumenting of code to minimize system perturbation—182
US 2004230956 A1Simple method optimization—34
US 2005039172 A1Synthesizing application response measurement (ARM) instrumentation—100
US 2005261879 A1Diagnostic context—60
US 2005273667 A1Diagnostic instrumentation—95
US 2005273787 A1Deploy callback system—33
US 6,985,909 B2Modified class loaders and methods of use200616
US 7,017,155 B2Installing software on a mobile computing device using the rollback and security features of a configuration manager200637
US 7,058,957 B1Cluster event notification system200655
US 2006174226 A1Methods, Test Systems And Computer-Readable Medium For Dynamically Modifying Flow Of Executable Code—30
US 7,206,807 B2Asynchronous invoking a remote web service on a server by a client who passes on a received invoke request from application code residing on the client200732
US 2007150870 A1Method and apparatus for context oriented computer program tracing and visualization—18
US 2007168998 A1System and method for dynamic instrumentation—53
US 2007234307 A1Methods and apparatus to inline conditional software instrumentation—24

Non-Patent Literature (5)

  • Binder et al., "Advanced Java Bytecode Instrumentation," PPPJ 2007, Sep. 5-7, 2007, Lisboa, Portugal. Copyright 2007 ACM.
  • Dmitriev, "Design of JFluid: A Profiling Technology and Tool Based on Dynamic Bytecode Instrumentation," SMLI TR-2003-125, Nov. 17, 2003, Sun Microsystems, Inc., pp. 1-19.
  • European Office Action dated Jun. 12, 2013, European Patent Application No. 11 250 847.8-1951.
  • Extended European Search Report dated Aug. 16, 2011, European Patent Application No. 11250520.1-1225.
  • Extended European Search Report dated Dec. 19, 2011, European Patent Application No. 11250847.8.