Patents
US 8,095,921 B2#12038820 Most CitedExpiredUnited States (USPTO)Utility

Identifying code that wastes time switching tasks

9Forward Citations (#12038820 Global)
0.6/yrCitation Velocity (#12388096 Global)
1.75Citation PageRank (#18035301 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method of detecting portions of code of a computer program that protect resources of a computer system unnecessarily can include identifying threads and synchronization objects that are used by a computer program during execution, determining the number of threads that have accessed each resource while it has been consistently protected by a particular synchronization object, and indicating whether the resource is suited for protection according to the number of threads that have accessed the resource.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of detecting portions of code of a computer program that protect resources of a computer system unnecessarily, said method comprising: identifying a synchronization object that has been engaged by a thread of the computer program; while the synchronization object is engaged, determining whether state memory has been allocated for a resource of the computer system that is protected by the synchronization object and, if state memory has not been allocated, allocating state memory for recording accesses to the resource; recording each access of the resource and a thread associated with t

Technical Overview & Description

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

References Cited — Backward Prior Art (19)

PatentTitleYearCitations
US 6,101,524 ADeterministic replay of multithreaded applications2000202
US 6,105,051 AApparatus and method to guarantee forward progress in execution of threads in a multithreaded processor2000132
US 6,167,424 AMethod and apparatus for concurrent thread synchronization200053
US 6,256,775 B1Facilities for detailed software performance analysis in a multithreaded processor2001168
US 6,530,079 B1Method for optimizing locks in computer programs200381
US 2004025164 A1Detecting deadlocks in multithreaded programs—40
US 2004025160 A1System and method for maintaining data synchronization—54
US 6,691,304 B1Monitor conversion in a multi-threaded computer system200426
US 2004123185 A1Tools and methods for discovering race condition errors—46
US 6,799,236 B1Methods and apparatus for executing code while avoiding interference200466
US 2004250240 A1Method for JIT compiler to optimize repetitive synchronization—36
US 2005071831 A1Method for computer program optimization in a dynamic compilation environment—25
US 2005080813 A1Methods and apparatus to analyze escape analysis of an application—9
US 2005198045 A1Compact object header—11
US 2006015858 A1System development method and data processing system—20
US 7,093,262 B2Detecting deadlocks in multithreaded programs200620
US 7,200,846 B2System and method for maintaining data synchronization200716
US 7,661,098 B2Computer program optimization in a dynamic compilation environment201013
US 7,747,985 B2Conformance testing of multi-threaded and distributed software systems201015

Non-Patent Literature (5)

  • Bacon et al., "Thin locks: featherweight Synchronization for Java", Apr. 2004, pp. 583-595, .
  • Bacon et al., "Thin locks: featherweight Synchronization for Java", Apr. 2004, pp. 583-595, <http://delivery.acm.org/10.1145/990000/989452/p583-bacon.pdf>.
  • Begic, An Introduction to Runtime Analysis with Rational PurifyPlus, The Rational Edge, Dec. 2002, pp. 1-18 (accessed Apr. 6, 2010) .
  • Begic, An Introduction to Runtime Analysis with Rational PurifyPlus, The Rational Edge, Dec. 2002, pp. 1-18 (accessed Apr. 6, 2010) <http://www.ibm.com.developerworks/rational/library/content/03July/2000/2315/2315—GB.pdf>.
  • Choi et al., "Stack allocation and synchronization optimizations for Java using escape analysis", Nov. 2003, pp. 876-909, .