-
公开(公告)号:US11755341B2
公开(公告)日:2023-09-12
申请号:US17484137
申请日:2021-09-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Xinjian Wang , Qinghua Zhang , Yongyong Yang , Bin Zhang , Wei Liu
CPC classification number: G06F9/44521 , G06F8/41
Abstract: This application discloses a class loading method and apparatus. The method is applied to a computer device, the computer device includes a target binary file, the target binary file includes a correspondence between class names of a plurality of classes and full information of the plurality of classes, and the class names are in a one-to-one correspondence with the full information of the classes. The method includes: determining a class name of a to-be-loaded class required for running an application program in the computer device; obtaining full information corresponding to the class name of the to-be-loaded class based on the class name of the to-be-loaded class and the correspondence between the class names of the plurality of classes and the full information of the plurality of classes; and running the application program based on the full information corresponding to the class name of the to-be-loaded class.
-
2.
公开(公告)号:US11138034B2
公开(公告)日:2021-10-05
申请号:US16242363
申请日:2019-01-08
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yifan Lu , Haitao Huang , Yongyong Yang , Yongjian Chen , Mingliang Yi
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.
-
3.
公开(公告)号:US20190155641A1
公开(公告)日:2019-05-23
申请号:US16242363
申请日:2019-01-08
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Yifan Lu , Haitao Huang , Yongyong Yang , Yongjian Chen , Mingliang Yi
Abstract: 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.
-
-