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

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 hardwareG06F 11/3089G06F 9/45504G06F 11/301G06F 11/3037G06F 11/3409G06F 11/3419G06F 11/3438G06F 11/3466+5 more

AI classification

AI hardware1.00
Planning0.00
Machine learning0.00
Natural language0.00
Knowledge representation0.00
Evolutionary computation0.00
Speech0.00
Vision0.00

Ownership

INTERNATIONAL BUSINESS MACHINES CORPORATION

assignment · 203060813

Assignors

MOSTAFA, MOHAMMED

On an employer assignment, the assignors are typically the inventors.

From the same owner

© 2026 NYSGPT2525 LLC