发明名称 Automated Identification of Redundant Method Calls
摘要 Embodiments of the invention may provide for collecting specified data each time that a call to a given method 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, and the collected data includes an element uniquely identifying each of the particular argument values. The process may further include storing the collected data at a selected location, and selecting a call threshold for the given method, wherein the call threshold comprises a specified number of occurrences of the given call to the given method, when the program is running The collected data may be selectively analyzed at the storage location, to determine whether an occurrence of the given call to the given method has exceeded the call threshold.
申请公布号 US2015089482(A1) 申请公布日期 2015.03.26
申请号 US201414556242 申请日期 2014.12.01
申请人 International Business Machines Corporation 发明人 Alkins Mark A.;Pichardo Denny;Presler-Marshall Martin J. C.;Presnall Hunter K.
分类号 G06F11/36 主分类号 G06F11/36
代理机构 代理人
主权项 1. A computer program product comprising: a computer readable storage medium; and computer usable code stored on the computer readable storage medium, where, if executed by a processor, the computer usable code causes a computer to: detect a called method, wherein the called method is to include an argument; collect an argument value for each argument of the called method; calculate a unique value for each argument value to uniquely represent each argument of the called method; and utilize a count of the unique value to determine whether the called method is acceptably redundant, wherein information pertaining to the called method is to be routed to be analyzed if the called method is not acceptably redundant.
地址 Armonk NY US