IDENTIFICATION AND MANAGEMENT OF UNSAFE OPTIMIZATIONS
    1.
    发明申请
    IDENTIFICATION AND MANAGEMENT OF UNSAFE OPTIMIZATIONS 有权
    不安全优化的认定与管理

    公开(公告)号:US20140282451A1

    公开(公告)日:2014-09-18

    申请号:US13977118

    申请日:2013-03-15

    IPC分类号: G06F9/45

    CPC分类号: G06F8/443 G06F9/4552

    摘要: Techniques for implementing identification and management of unsafe optimizations are disclosed. A method of the disclosure includes receiving, by a managed runtime environment (MRE) executed by a processing device, a notice of misprediction of optimized code, the misprediction occurring during a runtime of the optimized code, determining, by the MRE, whether a local misprediction counter (LMC) associated with a code region of the optimized code causing the misprediction exceeds a local misprediction threshold (LMT) value, and when the LMC exceeds the LMT value, compiling, by the MRE, native code of the optimized code to generate a new version of the optimized code, wherein the code region in the new version of the optimized code is not optimized.

    摘要翻译: 公开了实现不安全优化的识别和管理的技术。 本公开的方法包括:通过由处理设备执行的管理运行时环境(MRE)接收优化代码的错误预测的通知,在优化代码的运行时间期间发生的错误预测,由MRE确定本地 与优化代码的代码区域相关联的误预测计数器(LMC)导致错误预测超过局部误预测阈值(LMT)值,当LMC超过LMT值时,由MRE编译优化代码的本机代码以生成 新版本的优化代码,其中新版本的优化代码中的代码区域未被优化。

    Identification and management of unsafe optimizations
    2.
    发明授权
    Identification and management of unsafe optimizations 有权
    识别和管理不安全的优化

    公开(公告)号:US09043773B2

    公开(公告)日:2015-05-26

    申请号:US13977118

    申请日:2013-03-15

    IPC分类号: G06F9/45

    CPC分类号: G06F8/443 G06F9/4552

    摘要: Techniques for implementing identification and management of unsafe optimizations are disclosed. A method of the disclosure includes receiving, by a managed runtime environment (MRE) executed by a processing device, a notice of misprediction of optimized code, the misprediction occurring during a runtime of the optimized code, determining, by the MRE, whether a local misprediction counter (LMC) associated with a code region of the optimized code causing the misprediction exceeds a local misprediction threshold (LMT) value, and when the LMC exceeds the LMT value, compiling, by the MRE, native code of the optimized code to generate a new version of the optimized code, wherein the code region in the new version of the optimized code is not optimized.

    摘要翻译: 公开了实现不安全优化的识别和管理的技术。 本公开的方法包括:通过由处理设备执行的管理运行时环境(MRE)接收优化代码的错误预测的通知,在优化代码的运行时间期间发生的错误预测,由MRE确定本地 与优化代码的代码区域相关联的误预测计数器(LMC)导致错误预测超过局部误预测阈值(LMT)值,当LMC超过LMT值时,由MRE编译优化代码的本机代码以生成 新版本的优化代码,其中新版本的优化代码中的代码区域未被优化。