首页>
外国专利>
And devices for identifying high-use intermediate code in a language virtual machine
And devices for identifying high-use intermediate code in a language virtual machine
展开▼
机译:以及用于在语言虚拟机中识别高使用中间代码的设备
展开▼
页面导航
摘要
著录项
相似文献
摘要
Embodiments of the present invention provide a method and apparatus for identifying a hotspot intermediate code. A method for identifying a hotspot intermediate code includes the steps of obtaining an instruction address at an instruction counter when the language virtual machine executes the identification object function and determining whether the local instruction corresponding to the instruction address is a local instruction of the identification object function step; Updating the value of the identification object function by increasing the current hotness value of the identification target function by a predetermined value when the local command corresponding to the command address is a local command of the identification object function; And determining whether the updated hotness value of the identified target function is greater than or equal to a hotness threshold of the identified target function, and when the updated hotness value of the identified target function is greater than or equal to the hotness threshold of the identified target function, As the hot spot intermediate code. According to the above-described method, the hot spot intermediate code can be identified.
展开▼