发明名称 Selectively hotpatching only a selection of processes of a running instance of an application that match a selection criteria
摘要 An application is modified during execution by a hotpatch controller of a kernel receiving one or more new versions of a selection of one or more functions of multiple functions of an application and at least one selection criteria for applying the one or more new versions to the application during execution of the application to update a selection of one or more existing versions of the one or more functions. The hotpatch controller selectively transfers control from the selection of one or more existing versions of the one or more functions to the one or more new versions for only a selection of one or more processes that call the selection of one or more existing versions of the one or more functions from among multiple processes of the application, the selection of one or more processes each comprising one or more attributes matching the at least one selection criteria.
申请公布号 US9459858(B2) 申请公布日期 2016.10.04
申请号 US201514591702 申请日期 2015.01.07
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Mavinakayanahalli Ananth N.;Prasad Aravinda;Poulose Suzuki K.
分类号 G06F9/44;G06F9/445 主分类号 G06F9/44
代理机构 代理人 Pattillo Amy J.;Bennett Steven L.
主权项 1. A method for modifying an application during execution of the application, the method comprising: receiving, using one or more processors, one or more new versions of a selection of one or more functions of a plurality of functions of an application and at least one selection criteria for applying the one or more new versions to the application during execution of the application to update a selection of one or more existing versions of the one or more functions by receiving the at least one selection criteria comprising one or more dynamic criteria that are applied during runtime at the execution of a plurality of processes entering the selection of one or more functions, wherein a watchpoint for generating an exception to selectively transfer control to a second address is set at scheduling of each of the plurality of processes and the dynamic criteria is applied after the exception is triggered during execution to determine whether to continue access to a first address or selectively transfer to access at the second address; updating, using the one or more processors, the selection of one or more functions of the application, while the application is running, to comprise the one or more new versions of the selection of one or more functions at the second address while maintaining the selection of the one or more existing versions of the one or more functions at the first address; and selectively transferring control, using the one or more processors, from the selection of one or more existing versions of the one or more functions to the one or more new versions at the second address for only a selection of one or more processes that call the selection of one or more existing versions of the one or more functions from among the plurality of processes of the application, the selection of one or more processes each comprising one or more attributes matching the at least one selection criteria.
地址 Armonk NY US