Method, apparatus, device and storage medium for upgrading application

    公开(公告)号:US11281445B2

    公开(公告)日:2022-03-22

    申请号:US16710511

    申请日:2019-12-11

    Abstract: Embodiments of the present disclosure relate to the field of cloud computing, and specifically to a method, apparatus, device, and computer storage medium for upgrading an application. The method may include: determining, for a first thread executed by a first process of a first application, a first function invoked by the first thread; determining a second function corresponding to the first function in a second application, the first application to be upgraded to the second application, and the first function to be upgraded to the second function; replacing a first dynamic link library of the first application comprising the first function based on a second dynamic link library of the second application comprising the second function; and updating the first process based on the second dynamic link library, such that the updated first process runs the second function in the second application.

    Method and apparatus of unloading out of memory processing flow to user space

    公开(公告)号:US10417062B2

    公开(公告)日:2019-09-17

    申请号:US15280122

    申请日:2016-09-29

    Abstract: The present application discloses a method and apparatus of unloading an out of memory (OOM) processing flow to a user space. A specific implementation of the method includes: writing related information of an OOM event into a memory page shared by a user space and a kernel space when a process triggers the OOM event, the related information comprising: an identification of the process and a path of a memory resource control sub-system where the process exists; acquiring, by an OOM service process of the user space, the related information of the OOM event through the memory page; and processing, by the OOM service process of the user space, the OOM event using the related information of the OOM event. The implementation implements unloading of an OOM processing in a kernel state to a user state for execution, and the whole OOM processing process is handed over to a user state process for implementation, which reduces the complexity of execution of the OOM processing, and is conducive to adjustment of OOM processing strategies and upgrade and replacement of services.

    METHOD AND APPARATUS OF UNLOADING OUT OF MEMORY PROCESSING FLOW TO USER SPACE

    公开(公告)号:US20170329655A1

    公开(公告)日:2017-11-16

    申请号:US15280122

    申请日:2016-09-29

    Abstract: The present application discloses a method and apparatus of unloading an out of memory (OOM) processing flow to a user space. A specific implementation of the method includes: writing related information of an OOM event into a memory page shared by a user space and a kernel space when a process triggers the OOM event, the related information comprising: an identification of the process and a path of a memory resource control sub-system where the process exists; acquiring, by an OOM service process of the user space, the related information of the OOM event through the memory page; and processing, by the OOM service process of the user space, the OOM event using the related information of the OOM event. The implementation implements unloading of an OOM processing in a kernel state to a user state for execution, and the whole OOM processing process is handed over to a user state process for implementation, which reduces the complexity of execution of the OOM processing, and is conducive to adjustment of OOM processing strategies and upgrade and replacement of services.

Patent Agency Ranking