Methods and apparatus for optimizing programs in the presence of exceptions
    1.
    发明授权
    Methods and apparatus for optimizing programs in the presence of exceptions 失效
    在存在异常情况下优化程序的方法和装置

    公开(公告)号:US06487716B1

    公开(公告)日:2002-11-26

    申请号:US09415137

    申请日:1999-10-08

    IPC分类号: G06F944

    CPC分类号: G06F8/443 G06F2209/481

    摘要: A method and several variants are provided for analyzing and transforming a computer program such that instructions may be reordered even across instructions that may throw an exception, while strictly preserving the precise exception semantics of the original program. The method uses program analysis to identify the subset of program state that needs to be preserved if an exception is thrown. Furthermore, the method performs a program transformation that allows dependence constraints among potentially excepting instructions to be completely ignored while applying program optimizations. This transformation does not require any special hardware support, and requires a compensation code to be executed only if an exception is thrown, i.e., no additional instructions need to be executed if an exception is not thrown. Variants of the method show how one or several of the features of the method may be performed.

    摘要翻译: 提供了一种用于分析和转换计算机程序的方法和几个变体,使得甚至可以在可能引发异常的指令上重新排序指令,同时严格保留原始程序的精确异常语义。 该方法使用程序分析来识别如果抛出异常,需要保留的程序状态子集。 此外,该方法执行程序变换,其允许潜在的除指令之间的依赖约束在应用程序优化时被完全忽略。 这种转换不需要任何特殊的硬件支持,并且只有在抛出异常时才需要执行补偿代码,即如果不抛出异常,则不需要执行其他指令。 该方法的变体显示了如何执行该方法的一个或多个特征。

    Profile normalization in an autonomic software system
    2.
    发明申请
    Profile normalization in an autonomic software system 失效
    自主软件系统中的简档归一化

    公开(公告)号:US20050034105A1

    公开(公告)日:2005-02-10

    申请号:US10635199

    申请日:2003-08-06

    IPC分类号: G06F9/40 G06F9/44 G06F9/45

    CPC分类号: G06F11/3612 G06F8/41

    摘要: There is provided an autonomic software system and method for normalizing a profile collected for an executing application to account for one or more actions applied to the executing application after the profile was collected, comprising: predicting an impact of applying the one or more actions to the executing application by utilizing the profile and the one or more actions; and adjusting the profile to form a normalized profile according to the predicted impact. A plurality of different a profile consumers, such as, a phase shift detector, an action evaluator as well as a normalizing controller, may utilize the normalized profile to improve the behavior of the executing application. In addition, online visualization tools may be implemented to graphically depict the normalized profiles, as well as differences between the collected profiles and the normalized profiles.

    摘要翻译: 提供了一种自动化软件系统和方法,用于归一化为执行应用收集的简档,以便在收集简档之后考虑应用于执行应用的一个或多个动作,包括:预测将一个或多个动作应用于 通过利用简档和一个或多个动作执行应用程序; 并根据预测的影响调整轮廓以形成归一化轮廓。 诸如相移检测器,动作评估器以及归一化控制器的多个不同的简档消费者可以利用归一化简档来改善执行应用的行为。 此外,可以实现在线可视化工具以图形地描绘归一化简档,以及收集的简档和归一化简档之间的差异。