-
公开(公告)号:CA2237681C
公开(公告)日:2002-03-26
申请号:CA2237681
申请日:1998-05-14
Applicant: IBM
Inventor: KUBALA JEFFREY P , SIEGEL IRA G , BELLIN RICHARD A JR
Abstract: A method of replacing a current version of a program module with a replacement version of the module concurrently with the execution of the program on a computer system. While execution of the program is suspended, each address reference in the program to an entry point within the current version of the module is replaced with an address reference to the corresponding entry point within the replacement version of the module. After the address references have been replaced and before execution is resumed, a patch initialization routine is invoked to perform initialization functions such as storage allocation, table initialization and feature detection that are performed before execution of the concurrently applied patch. Execution of the program is resumed when each address reference to the current module has been replaced with one to the replacement module and the patch initialization routine has been performed. A bit vector is used to ensure that each initialization function is performed only once per instantiation of the program being patched. An available storage value indicates the amount of initially allocated storage remaining available after performing an initialization function involving storage allocation.
-
公开(公告)号:CA2237681A1
公开(公告)日:1998-11-28
申请号:CA2237681
申请日:1998-05-14
Applicant: IBM
Inventor: BELLIN RICHARD A JR , SIEGEL IRA G , KUBALA JEFFREY P
Abstract: A method of replacing a current version of a program module with a replacement version of the module concurrently with the execution of the program on a computer system. While execution of the program is suspended, each address reference in the program to an entry point within the current version of the module is replaced with an address reference to the corresponding entry point within the replacement version of the module. After the address references have been replaced and before execution is resumed, a patch initialization routine is invoked to perform initialization functions such as storage allocation, table initialization and feature detection that are performed before execution of the concurrently applied patch. Execution of the program is resumed when each address reference to the current module has been replaced with one to the replacement module and the patch initialization routine has been performed. A bit vector is used to ensure that each initialization function is performed only once per instantiation of the program being patched. An available storage value indicates the amount of initially allocated storage remaining available after performing an initialization function involving storage allocation.
-