Patents
US 9,727,436 B2#31057598 Most CitedActiveUnited States (USPTO)Utility

Adding a profiling agent to a virtual machine to permit performance and memory consumption analysis within unit tests

3Forward Citations (#31057598 Global)
0.3/yrCitation Velocity (#23279886 Global)
1.18Citation PageRank (#33205897 Global)
25Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The present invention discloses a solution for adding a profiling agent to a virtual machine (VM), which permits unit test programs to access information relating to memory and performance from runtime data areas of the VM. Operations permitted by the agent can include starting/stopping VM monitor, getting objects from the heap, retrieving an invocation count, determining a size of an instantiated object, getting a current thread time, and the like. Memory and performance information gathered during a test can be stored for later analysis under a test version identifier. A comparison engine can create reports that use the stored performance and memory data, which can help developers compare memory/performance deltas among different unit versions. In one embodiment, the VM can be a JAVA VIRTUAL MACHINE (JVM) and the unit test programs can be JUNIT programs.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A system for performing unit testing comprising: a virtual machine configured to execute software units, wherein said virtual machine is a JAVA VIRTUAL MACHINE: a unit testing framework comprising at least one assert relating to memory and performance of runtime data areas of the virtual machine, the unit testing framework configured to test the software units executing within the virtual machine using the at least one assert, wherein said unit testing framework is JUNIT: a data store; a JAVA interface class located outside the virtual machine and comprising a set of methods relating to memory

Technical Overview & Description

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

References Cited — Backward Prior Art (25)

PatentTitleYearCitations
US 2003105777 A1Method and apparatus to facilitate testing of garbage collection implementations—6
US 2004133895 A1System and method for memory leak detection in a virtual machine environment—30
US 2005114844 A1Method and apparatus for generating data for use in memory leak detection—42
US 2005204342 A1Method, system and article for detecting memory leaks in Java software—62
US 2005223362 A1Methods and systems for performing unit testing across multiple virtual machines—64
US 2005240641 A1Method for predicting and avoiding danger in execution environment—59
US 2006085156 A1Method and system for predicting memory leaks from unit testing—41
US 7,086,064 B1Performance profiling tool200646
US 2006195823 A1Memory debugging tool—24
US 2006206885 A1Identifying memory leaks in computer systems—63
US 2006247907 A1Deciding assertions in programs with references—35
US 2006277440 A1Method, system, and computer program product for light weight memory leak detection—25
US 7,185,367 B2Method and system for establishing normal software system behavior and departures from normal behavior200754
US 2007074170 A1Application monitoring using profile points—40
US 2007083854 A1Testing usability of a software program—27
US 2007185984 A1System and method for issue severity handling for performance test—14
US 7,266,808 B2Method and system for dynamically invoking and/or checking conditions of a computer test program200742
US 7,293,260 B1Configuring methods that are likely to be executed for instrument-based profiling at application run-time2007133
US 2008244546 A1Method and system for providing on-demand profiling infrastructure for profiling at virtual machines—29
US 2008244525 A1Test Automation Using Virtual Machines—60
US 2009125891 A1Method and system for monitoring code change impact on software performance—54
US 7,620,856 B2Framework for automated testing of enterprise computer systems200931
US 7,721,154 B1System and method for software run-time testing201028
US 7,793,269 B2Parallel software testing based on a normalized configuration201013
US 7,908,590 B1System and method for automatically creating test cases through a remote client201139

Non-Patent Literature (2)

  • Gamma et al., "JUnit: A Cook's Tour", 2002, http://www.computing.dcu.ie/˜renaat/ca421/cookstour.htm.
  • Viswanathan et al., "Java Virtual Machine Profiler Interface", 2000, IBM Systems Journal vol. 39, No. 1.