-
公开(公告)号:US20190087321A1
公开(公告)日:2019-03-21
申请号:US15710678
申请日:2017-09-20
Applicant: Huawei Technologies Co., Ltd.
Inventor: Kai-Ting Amy Wang , Man Pok Ho , Peng Wu , Haichuan Wang
IPC: G06F12/02 , G06F12/1009 , G06F9/455
CPC classification number: G06F12/0238 , G06F9/45516 , G06F12/0873 , G06F12/1009 , G06F16/188 , G06F2212/65
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.
-
公开(公告)号:US10795651B2
公开(公告)日:2020-10-06
申请号:US16396289
申请日:2019-04-26
Applicant: Huawei Technologies Co., Ltd.
Inventor: Haichuan Wang , Brice Adam Dobry , Shiqiang Cui , Bo Qi
Abstract: Compiling source code objects to improve efficiency of compiling is described herein. The compiling includes determining, by a compiler, an object type of a to-be-compiled object in source code. A counter is set for the to-be-compiled object. When the object type of the to-be-compiled object is an object type that can be operated by only one thread at one moment, the compiler sets a counter counting rule for the counter of the to-be-compiled object.
-
公开(公告)号:US20190087211A1
公开(公告)日:2019-03-21
申请号:US15890256
申请日:2018-02-06
Applicant: Huawei Technologies Co., Ltd.
Inventor: Kai-Ting Amy Wang , Man Pok Ho , Peng Wu , Haichuan Wang
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.
-
公开(公告)号:US20180217915A1
公开(公告)日:2018-08-02
申请号:US15936030
申请日:2018-03-26
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Mingfa Wang , Gang Yu , Haichuan Wang
IPC: G06F11/36
CPC classification number: G06F11/362 , G06F9/445 , G06F9/48 , G06F11/36 , G06F11/3656
Abstract: Embodiments of the present invention relate to the field of computer technologies. The embodiments of the present invention provide a debugging method, including: stopping running, by a core A of the multi-core processor, and sending a running stop signal to other cores in a process of stopping running; after receiving a first stop termination instruction and resuming running, executing a debugging information collection function and stopping running after completing the execution of the debugging information collection function; after receiving a second stop termination instruction and resuming running, sending a running resumption instruction to the other cores; and knocking the pending breakpoint in a process of running an operation object of the preset event, so as to enter a debugging state. According to the technical solutions provided in the embodiments of the present invention, kernel mode code and user mode code can be debugged on a same debugging platform.
-
公开(公告)号:US11281441B2
公开(公告)日:2022-03-22
申请号:US17027305
申请日:2020-09-21
Applicant: Huawei Technologies Co., Ltd.
Inventor: Brice Adam Dobry , Haichuan Wang , Shiqiang Cui , Bo Qi
Abstract: Compiling source code objects to improve efficiency of compiling is described herein. The compiling includes determining, by a compiler, an object type of a to-be-compiled object in source code. A counter is set for the to-be-compiled object. When the object type of the to-be-compiled object is an object type that can be operated by only one thread at one moment, the compiler sets a counter counting rule for the counter of the to-be-compiled object.
-
公开(公告)号:US11243790B2
公开(公告)日:2022-02-08
申请号:US15890256
申请日:2018-02-06
Applicant: Huawei Technologies Co., Ltd.
Inventor: Kai-Ting Amy Wang , Man Pok Ho , Peng Wu , Haichuan Wang
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.
-
公开(公告)号: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.
-
公开(公告)号:US10409709B2
公开(公告)日:2019-09-10
申请号:US15934329
申请日:2018-03-23
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Mingfa Wang , Gang Yu , Haichuan Wang
Abstract: Embodiments of the present invention relate to the field of computer technologies. The embodiments of the present invention provide a debugging method, including: starting, by a core A of a multi-core processor after completing execution of a preset event processing routine, to stop running, and sending a running stop signal to other cores in a process of stopping running; after receiving a first stop termination instruction and resuming running, executing a debugging information collection function to collect debugging information of the preset event, and stopping running after completing the execution of the debugging information collection function; and after receiving a second stop termination instruction and resuming running, sending a running resumption instruction to the other cores. By means of the technical solutions provided in the embodiments of the present invention, kernel mode code and user mode code can be masked on a same debugging platform.
-
公开(公告)号:US20180210811A1
公开(公告)日:2018-07-26
申请号:US15934329
申请日:2018-03-23
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Mingfa Wang , Gang Yu , Haichuan Wang
CPC classification number: G06F11/362 , G06F9/545 , G06F11/2242 , G06F11/36 , G06F11/3636 , G06F11/3648 , G06F11/3664
Abstract: Embodiments of the present invention relate to the field of computer technologies. The embodiments of the present invention provide a debugging method, including: starting, by a core A of a multi-core processor after completing execution of a preset event processing routine, to stop running, and sending a running stop signal to other cores in a process of stopping running; after receiving a first stop termination instruction and resuming running, executing a debugging information collection function to collect debugging information of the preset event, and stopping running after completing the execution of the debugging information collection function; and after receiving a second stop termination instruction and resuming running, sending a running resumption instruction to the other cores. By means of the technical solutions provided in the embodiments of the present invention, kernel mode code and user mode code can be masked on a same debugging platform.
-
-
-
-
-
-
-
-