Patents
US 7,225,361 B2#5011458 Most CitedExpiredUnited States (USPTO)Utility

Detecting a stalled routine

18Forward Citations (#5011458 Global)
0.9/yrCitation Velocity (#7564656 Global)
2.42Citation PageRank (#10723868 Global)
28Prior Art Cited
2Claims (2 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system is disclosed that can determine whether a routine is stalled. The system does not require the developer of the routine to add code for the purpose of detecting whether the routine is stalled. Furthermore, the system can be used to monitor various routines at different levels of granularity, such as at the thread level, method level, or other levels. One embodiment of the present invention allows a user to specify a method and an expected time frame. Code for that method is modified to add additional code that implements a timing mechanism. The timing mechanism is used to detect when a thread enters that method and does not return within an approximation of the expected time frame. Other embodiments are also within the scope of the present invention.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 2 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for detecting whether a routine has stalled, comprising: accessing existing code for a first routine; automatically modifying said existing code by changing said existing code and adding new code; and using said new code and said changed existing code to determine if said first routine has stalled, wherein said step of automatically modifying comprises: adding object code for a timing mechanism to said existing code, adding a first instruction to said existing code for said first routine, said first instruction causes a starting of said timing mechanism for said first routine, said fi

  2. Claim 2Independent Claim

    A method acc

Technical Overview & Description

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

References Cited — Backward Prior Art (28)

PatentTitleYearCitations
US 5,193,180 ASystem for modifying relocatable object code files to monitor accesses to dynamically allocated memory1993249
US 5,379,414 ASystems and methods for FDC error detection and prevention199546
US 5,396,613 AMethod and system for error recovery for cascaded servers199575
US 5,432,933 AMethod of canceling a DB2 thread199519
US 5,526,485 AJust-in-time debugging system and methods under the windows 3.0 and windows 3.1 operating systems199696
US 5,655,081 ASystem for monitoring and managing computer resources and applications across a distributed computing environment using an intelligent autonomous agent architecture19971,063
US 5,732,272 ASubroutine execution time tracer199859
US 5,748,882 AApparatus and method for fault-tolerant computing1998226
US 5,898,873 ASystem and method for visualizing system operation trace chronologies199996
US 5,911,060 AComputer method and apparatus for unfreezing an apparently frozen application program being executed under control of an operating system199930
US 5,978,594 ASystem for managing computer resources across a distributed computing environment by first reading discovery information about how to determine system resources presence1999532
US 6,009,258 AMethods and devices for unwinding stack of frozen program and for restarting the program from unwound state199960
US 6,021,272 ATransforming and manipulating program object code200074
US 6,076,157 AMethod and apparatus to force a thread switch in a multithreaded processor2000224
US 6,260,187 B1System for modifying object oriented code2001195

Non-Patent Literature (4)

  • Cohen, Geoff A., Chase, Jeffrey S., Kaminsky, David L., Automatic Program Transformation with JOIE, USENIX Annual Technical Symposium, Jun. 1998.
  • Keller, Ralph and Holze, Urs, Binary Component Adaptation, University of California, Technical Report, Dec. 3, 1997.
  • Larus, James R., and Schnarr, Eric, EEL: Machine-Independent Executable Editing, SIGPLAN Conference on Programming Language Design and Implementation, Jun. 1995.
  • Lee, Han Bok and Zorn, Benjamin G., BIT: A Tool for Instrumenting Java Bytecodes, USITS 97, Dec. 1997.