The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Dec. 22, 2020

Filed:

Jun. 01, 2018
Applicant:

Huawei Technologies Co., Ltd., Guangdong, CN;

Inventors:

Mingliang Yi, Hangzhou, CN;

Long Chen, Beijing, CN;

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/455 (2018.01);
U.S. Cl.
CPC ...
G06F 9/45508 (2013.01); G06F 9/4552 (2013.01);
Abstract

The present disclosure provide a method and an apparatus for identifying hotspot intermediate code. The method for identifying hotspot intermediate code includes: when a language virtual machine executes a to-be-identified function, obtaining an instruction address in an instruction counter, and determining whether a native instruction corresponding to the instruction address is a native instruction of the to-be-identified function; when the native instruction corresponding to the instruction address is the native instruction of the to-be-identified function, increasing a current hotness value of the to-be-identified function by a preset value; and determining whether an updated hotness value of the to-be-identified function is greater than or equal to a hotness threshold of the to-be-identified function, and when the updated hotness value of the to-be-identified function is greater than or equal to the hotness threshold of the to-be-identified function, using intermediate code of the to-be-identified function as hotspot intermediate code.


Find Patent Forward Citations

Loading…