Instrumentation injection for common language runtime
    1.
    发明授权
    Instrumentation injection for common language runtime 有权
    仪表注入用于通用语言运行时

    公开(公告)号:US07421682B2

    公开(公告)日:2008-09-02

    申请号:US10705754

    申请日:2003-11-10

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3644

    摘要: An exemplary media implementation precipitates a device to perform actions including: determining if an instruction of a line of common intermediate language (CIL) code meets a predetermined exception-related criterion; and if so, injecting a decision point in association with the instruction of the line of CIL code, the decision point enabling a decision as to whether an exception is to be thrown with respect to the instruction. An exemplary device implementation includes: instrumented CIL code that includes a test couplet corresponding to a decision point and an associated instruction, the associated instruction capable of causing a fault; a decision runtime library that is adapted to evaluate the test couplet to selectively decide whether to throw an exception with respect to the associated instruction; and a common language runtime component that interprets the decision point so as to call the decision runtime library prior to executing the associated instruction.

    摘要翻译: 示例性媒体实现使设备执行以执行动作,包括:确定公共中间语言(CIL)代码行的指令是否满足预定的异常相关标准; 如果是,则将与CIL代码行的指令相关联的判定点注入,所述判定点能够判定是否针对该指令抛出异常。 示例性的设备实现包括:检测的CIL代码,其包括对应于决策点和相关联的指令的测试对,所述相关联的指令能够引起故障; 决定运行时库,其适于评估测试对,以选择性地决定是否针对关联的指令抛出异常; 以及公共语言运行时组件,其解释决策点,以便在执行相关联的指令之前调用决策运行时库。

    CONSUMER AND PRODUCER SPECIFIC SEMANTICS OF SHARED OBJECT PROTOCOLS
    2.
    发明申请
    CONSUMER AND PRODUCER SPECIFIC SEMANTICS OF SHARED OBJECT PROTOCOLS 审中-公开
    共享对象协议的消费者和生产者特定语义

    公开(公告)号:US20090271765A1

    公开(公告)日:2009-10-29

    申请号:US12111664

    申请日:2008-04-29

    IPC分类号: G06F9/44

    CPC分类号: G06F9/4488

    摘要: Determining how to perform operations specified in executable code. A method may include accessing a language context. The language context is related to a consumer location in executable code. The language context specifies an operation to be performed on one or more objects. The method includes sending a message requesting information about how to perform the operation on the one or more objects. A meta-object is received. The meta-object includes or produces executable code, that when executed performs the operation on the one or more objects.

    摘要翻译: 确定如何执行可执行代码中指定的操作。 方法可以包括访问语言上下文。 语言环境与可执行代码中的消费者位置相关。 语言上下文指定要在一个或多个对象上执行的操作。 该方法包括发送请求关于如何对一个或多个对象执行操作的信息的消息。 接收到元对象。 元对象包括或产生可执行代码,当执行时执行对一个或多个对象的操作。

    RULE-BASED DYNAMIC OPERATION EVALUATION
    3.
    发明申请
    RULE-BASED DYNAMIC OPERATION EVALUATION 审中-公开
    基于规则的动态运行评估

    公开(公告)号:US20090182689A1

    公开(公告)日:2009-07-16

    申请号:US12014734

    申请日:2008-01-15

    IPC分类号: G06F15/18 G06N5/02

    CPC分类号: G06N5/025

    摘要: A computer program may involve a dynamic operation, which may specify one of many types of methods based on the conditions of the invocation during runtime, such as the parameters provided to the dynamic operation. The appropriate performance of the dynamic method may be achieved by analyzing the conditions of the invocation according to an evaluation rule set, the rules comprising conditions and an action to be performed if the conditions are satisfied. The evaluation rule set may also be reconfigured upon identifying a satisfied rule to facilitate a faster evaluation of the dynamic operation during a second and subsequent invocations.

    摘要翻译: 计算机程序可以涉及动态操作,其可以基于在运行时期期间的调用的条件(例如提供给动态操作的参数)来指定许多类型的方法之一。 可以通过根据评估规则集分析调用条件来实现动态方法的适当性能,包括条件的规则以及如果满足条件则要执行的动作。 评估规则集还可以在识别满足的规则时重新配置,以便于在第二次和随后的调用期间更快地评估动态操作。