Invention Grant
- Patent Title: Method and apparatus for collecting information, and method and apparatus for releasing memory
-
Application No.: US16242363Application Date: 2019-01-08
-
Publication No.: US11138034B2Publication Date: 2021-10-05
- Inventor: Yifan Lu , Haitao Huang , Yongyong Yang , Yongjian Chen , Mingliang Yi
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Guangdong
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Guangdong
- Agency: Conley Rose, P.C.
- Priority: CN201711013628.5 20171026
- Main IPC: G06F9/48
- IPC: G06F9/48 ; G06F9/445 ; G06F9/451 ; G06F11/34 ; G06F8/41 ; G06F9/455

Abstract:
The method for collecting information includes obtaining, based on a method identifier of the target method, the quantity of times of invoking the target method, recording method information of the target method based on the quantity of times of invoking the target method, a first threshold, and a second threshold, and setting a method status of the target method, the method status is one of a first state and a second state, the first state corresponds to the first threshold, the second state corresponds to the second threshold.
Public/Granted literature
- US20190155641A1 METHOD AND APPARATUS FOR COLLECTING INFORMATION, AND METHOD AND APPARATUS FOR RELEASING MEMORY Public/Granted day:2019-05-23
Information query