Automatic customization of classes
    1.
    发明授权
    Automatic customization of classes 失效
    自动定制类

    公开(公告)号:US08132150B2

    公开(公告)日:2012-03-06

    申请号:US12034359

    申请日:2008-02-20

    IPC分类号: G06F9/44

    CPC分类号: G06F8/443 G06F8/36

    摘要: A method and computer readable medium for automatic replacement of object classes in a library with custom classes to improve program efficiency. The method begins with static analysis preformed on a program containing a plurality of objects in order to determine type-correctness constraints and to detect unused functionality in one or more of the objects to be replaced. The plurality of objects is instrumented to detect usage patterns of functionality in one or more objects. Customized classes are generated based upon the static analysis and usage patterns detected. Bytecode is rewritten which is used for generating classes. The present invention provides transparency in the replacement of the objects.

    摘要翻译: 一种用于使用自定义类自动替换库中的对象类以提高程序效率的方法和计算机可读介质。 该方法开始于在包含多个对象的程序上执行的静态分析,以便确定类型正确性约束并且检测一个或多个待替换对象中的未使用的功能。 多个对象被检测以检测一个或多个对象中的功能的使用模式。 基于检测到的静态分析和使用模式生成定制类。 字节码被重写用于生成类。 本发明提供了更换物体的透明度。

    Automatic customization of classes

    公开(公告)号:US08122430B2

    公开(公告)日:2012-02-21

    申请号:US11926287

    申请日:2007-10-29

    IPC分类号: G06F9/44

    CPC分类号: G06F8/443 G06F8/36

    摘要: A method and computer readable medium for automatic replacement of object classes in a library with custom classes to improve program efficiency. The method begins with static analysis preformed on a program containing a plurality of objects in order to determine type-correctness constraints and to detect unused functionality in one or more of the objects to be replaced. The plurality of objects is instrumented to detect usage patterns of functionality in one or more objects. Customized classes are generated based upon the static analysis and usage patterns detected. Bytecode is rewritten which is used for generating classes. The present invention provides transparency in the replacement of the objects.