首页> 外国专利> 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.
机译:本发明实施例提供了一种识别热点中间码的方法和装置。一种识别热点中间码的方法,包括以下步骤:当语言虚拟机执行识别对象功能时,在指令计数器处获取指令地址;确定与该指令地址对应的本地指令是否为识别对象功能的本地指令。步;当与命令地址相对应的本地命令是识别对象功能的本地命令时,通过将识别目标功能的当前热度值增加预定值来更新识别对象功能的值;并且确定所识别的目标函数的更新后的热度值是否大于或等于所识别的目标函数的热度阈值,以及何时确定所识别的目标函数的更新后的热度值大于或等于所识别的目标函数的热度阈值。目标函数,作为热点中间代码。根据上述方法,可以识别热点中间代码。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号