Method and apparatus for collecting information, and method and apparatus for releasing memory
AssigneeHuawei Technologies Co., Ltd.
InventorsYifan Lu, Haitao Huang, Yongyong Yang, Yongjian Chen, Mingliang Yi
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsYifan Lu, Haitao Huang, Yongyong Yang, Yongjian Chen, Mingliang Yi
Estimating the term…
The method for collecting information includes: when a quantity of times of invoking a target method in a running lifecycle of a target program increases, obtaining, based on a method identifier of the target method, the quantity of times of invoking the target method; and 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.
A method for collecting information, comprising:
An apparatus for collecting information, comprising:
Dependencies are inferred from the claim text.