-
公开(公告)号:US10564955B2
公开(公告)日:2020-02-18
申请号:US15861132
申请日:2018-01-03
Applicant: Huawei Technologies Co., Ltd.
Inventor: Marcus Theodore Chernenko Karpoff , Jose Nelson Amaral , Kai-Ting Amy Wang , Brice Adam Dobry
Abstract: An embodiment method for retiring a dynamically updatable function includes receiving, by a collector-thread, a registration of the function, wherein the registration indicates to the collector-thread addresses of memory locations for counters that count a number of calls currently being made to a previous version of the function by a plurality of execution threads; reading, by the collector-thread, values of the counters; and when the values of all the counters are zero, deleting, by the collector-thread, the function from a storage medium on a device previously executing the previous version of the function.
-
公开(公告)号:US10474568B2
公开(公告)日:2019-11-12
申请号:US15710678
申请日:2017-09-20
Applicant: Huawei Technologies Co., Ltd.
Inventor: Kai-Ting Amy Wang , Man Pok Ho , Peng Wu , Haichuan Wang
IPC: G06F12/0873 , G06F12/02 , G06F9/455 , G06F12/1009
Abstract: Embodiments of this disclosure allow non-position-independent-code to be shared between a closed application and a subsequent application without converting the non-position-independent-code into position-independent-code. In particular, embodiment techniques store live data of a closed application during runtime of the closed application, and thereafter page a portion of the live data that is common to both the closed application and a subsequent application back into volatile memory at the same virtual memory address in which the portion of live data was stored during runtime of the closed application so that the paged lived data may be re-used to execute the subsequent application in the managed runtime environment. Because the paged live data is stored at the same virtual memory address during the runtimes of both applications, non-position-independent-code can be shared between the applications.
-