发明名称 REPLACING ANNOTATED PROGRAM CODE IN A NETWORKED COMPUTING ENVIRONMENT
摘要 An approach for replacing one program code library (or method(s) thereof) with another program code library (or method(s) thereof) during execution is provided. Specifically, an annotation (e.g., comprising a runtime optimization request and associated performance/measurement criteria) within a program code file will be detected, analyzed, and used to monitor/assess the performance of a running set of methods of the program code file or the like (e.g., a set of initial/original methods). As this is occurring, a set of substitute methods will be identified from a program code library (e.g., based on similarities to the original set of methods) and likewise monitored/assessed. Based on the monitored performance, one or more alternate method(s) may be substituted for the original method(s) in the program code file. Such a capability allows for methods to be evaluated during runtime, and for performance to be optimized by utilizing the highest performing methods.
申请公布号 US2014165029(A1) 申请公布日期 2014.06.12
申请号 US201213706599 申请日期 2012.12.06
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Balasubramanian Swaminathan;Hamilton, II Rick A.;O'Connell Brian M.;Walker Keith R.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项 1. A computer-implemented method for replacing annotated program code in a networked computing environment, comprising: detecting an annotation in a program code file, the annotation comprising a runtime optimization request with a set of criteria for running the program code file; monitoring, responsive to detecting, at least one method in the program code file during runtime based on the set of criteria; identifying at least one substitute method for the at least one method, the at least one substitute method being identified from a program code library stored in a computer storage device; monitoring the at least one substitute method based on the set of criteria; and selecting, based on the monitoring of the at least one substitute method, a particular substitute method from the at least one substitute method for use in the program code file.
地址 Armonk NY US