Mark A. Alkins - Durham NC, US Denny Pichardo - Raleigh NC, US Martin J. C. Presler-Marshall - Chapel Hill NC, US Hunter K. Presnall - Durham NC, US
Assignee:
International Business Machines Corporation - Armonk NY
International Classification:
G06F 9/45
US Classification:
717130, 717131, 717140, 717158
Abstract:
A code profiler can be digitally encoded in a storage medium that is configured to automatically detect an existence of non-modifying transforms within monitored programmatic code using hash codes of arguments of the monitored programmatic code.
Automated Identification Of Redundant Method Calls
Mark Andrew Alkins - Durham NC, US Denny Pichardo - Raleigh NC, US Martin Joseph Clayton Presler-Marshall - Chapel Hill NC, US Hunter K. Presnall - Cary NC, US
Assignee:
International Business Machines Corporation - Armonk NY
International Classification:
G06F 9/44
US Classification:
717128, 717151, 717154
Abstract:
Detection of redundant or duplicate method calls in a running program is provided. One or more methods can be selectively called when a program is running. Specified data is collected each time that a call to a given one of the methods occurs, wherein a given call to the given method is associated with a set of arguments comprising one or more particular argument values for the given method. The collected data includes an element uniquely identifying each of the particular argument values. The collected data is stored at a selected location, and a call threshold is selected for the given method, wherein the call threshold comprises a specified number of occurrences of the given call to the given method. The collected data is selectively analyzed at the storage location, to determine whether an occurrence of the given call to the given method has exceeded the call threshold.