ADDING A PROFILING AGENT TO A VIRTUAL MACHINE TO PERMIT PERFORMANCE AND MEMORY CONSUMPTION ANALYSIS WITHIN UNIT TESTS
Patent №
US 9,727,436
Granted
2017-08-08
Filed 2008
Owner
INTERNATIONAL BUSINESS MACHINES CORPORATION
Lab
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
11968351
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.
AI classification
Ownership
INTERNATIONAL BUSINESS MACHINES CORPORATION
assignment · 203060813
Assignors
MOSTAFA, MOHAMMED
On an employer assignment, the assignors are typically the inventors.