Ensuring Determinism During Programmatic Replay In A Virtual Machine

    公开(公告)号:US20170161174A1

    公开(公告)日:2017-06-08

    申请号:US15433838

    申请日:2017-02-15

    Applicant: CA, Inc.

    Abstract: Aspects of an application program's execution which might be subject to non-determinism are performed in a deterministic manner while the application program's execution is being recorded in a virtual machine environment so that the application program's behavior, when played back in that virtual machine environment, will duplicate the behavior that the application program exhibited when originally executed and recorded. Techniques disclosed herein take advantage of the recognition that only minimal data needs to be recorded in relation to the execution of deterministic operations, which actually can be repeated “verbatim” during replay, and that more highly detailed data should be recorded only in relation to non-deterministic operations, so that those non-deterministic operations can be deterministically simulated (rather than attempting to re-execute those operations under circumstances where the outcome of the re-execution might differ) based on the detailed data during replay.

    Advancing and rewinding a replayed program execution
    12.
    发明授权
    Advancing and rewinding a replayed program execution 有权
    推进和倒回重播的程序执行

    公开(公告)号:US09122601B2

    公开(公告)日:2015-09-01

    申请号:US14462463

    申请日:2014-08-18

    Applicant: CA, Inc.

    CPC classification number: G06F11/0778 G06F11/3624

    Abstract: In an embodiment, a data processing system comprises a storage system coupled to a unit under test comprising a heap memory, a static memory and a stack; second logic operable to perform: detecting one or more changes in a first state of the heap memory and the static memory; storing, in the storage system, as a state point of the unit under test, the one or more changes in the first state of the heap memory and the static memory; third logic operable to perform: receiving a request to change the memory under test to a particular state point; in response to the request, loading the particular state point from the storage system and applying the particular state point to the heap memory and the static memory to result in changing the heap memory and the static memory to a second state that is substantially equivalent to the first state.

    Abstract translation: 在一个实施例中,数据处理系统包括耦合到被测单元的存储系统,包括堆存储器,静态存储器和堆栈; 第二逻辑可操作以执行:检测所述堆存储器和所述静态存储器的第一状态中的一个或多个变化; 在存储系统中存储作为被测单元的状态点,堆存储器和静态存储器的第一状态中的一个或多个变化; 第三逻辑,其可操作以执行:接收将测试中的所述存储器更改为特定状态点的请求; 响应于该请求,从存储系统加载特定状态点并将特定状态点应用于堆存储器和静态存储器以导致将堆存储器和静态存储器改变到基本上等于 第一个状态

    Advancing and Rewinding a Replayed Program Execution
    13.
    发明申请
    Advancing and Rewinding a Replayed Program Execution 审中-公开
    推进和回放重新执行的程序

    公开(公告)号:US20140380102A1

    公开(公告)日:2014-12-25

    申请号:US14462463

    申请日:2014-08-18

    Applicant: CA, Inc.

    CPC classification number: G06F11/0778 G06F11/3624

    Abstract: In an embodiment, a data processing system comprises a storage system coupled to a unit under test comprising a heap memory, a static memory and a stack; second logic operable to perform: detecting one or more changes in a first state of the heap memory and the static memory; storing, in the storage system, as a state point of the unit under test, the one or more changes in the first state of the heap memory and the static memory; third logic operable to perform: receiving a request to change the memory under test to a particular state point; in response to the request, loading the particular state point from the storage system and applying the particular state point to the heap memory and the static memory to result in changing the heap memory and the static memory to a second state that is substantially equivalent to the first state.

    Abstract translation: 在一个实施例中,数据处理系统包括耦合到被测单元的存储系统,包括堆存储器,静态存储器和堆栈; 第二逻辑可操作以执行:检测所述堆存储器和所述静态存储器的第一状态中的一个或多个变化; 在存储系统中存储作为被测单元的状态点,堆存储器和静态存储器的第一状态中的一个或多个变化; 第三逻辑,其可操作以执行:接收将测试中的所述存储器更改为特定状态点的请求; 响应于该请求,从存储系统加载特定状态点并将特定状态点应用于堆存储器和静态存储器以导致将堆存储器和静态存储器更改为基本上等同于 第一个状态

    ENSURING DETERMINISM DURING PROGRAMMATIC REPLAY IN A VIRTUAL MACHINE
    14.
    发明申请
    ENSURING DETERMINISM DURING PROGRAMMATIC REPLAY IN A VIRTUAL MACHINE 有权
    在虚拟机器中的程序复制期间确定确定

    公开(公告)号:US20140229947A1

    公开(公告)日:2014-08-14

    申请号:US14258928

    申请日:2014-04-22

    Applicant: CA, Inc.

    Abstract: Aspects of an application program's execution which might be subject to non-determinism are performed in a deterministic manner while the application program's execution is being recorded in a virtual machine environment so that the application program's behavior, when played back in that virtual machine environment, will duplicate the behavior that the application program exhibited when originally executed and recorded. Techniques disclosed herein take advantage of the recognition that only minimal data needs to be recorded in relation to the execution of deterministic operations, which actually can be repeated “verbatim” during replay, and that more highly detailed data should be recorded only in relation to non-deterministic operations, so that those non-deterministic operations can be deterministically simulated (rather than attempting to re-execute those operations under circumstances where the outcome of the re-execution might differ) based on the detailed data during replay.

    Abstract translation: 在应用程序的执行被记录在虚拟机环境中时,可以以确定性的方式执行应用程序的执行可能受到非确定性的影响,使得应用程序在该虚拟机环境中回放时的行为将 复制应用程序在最初执行和记录时展现的行为。 本文中公开的技术利用了这样的认识:只有最小数据需要与确定性操作的执行相关才能被记录,确实性操作实际上可以在重放期间“逐字地”重复,并且更高度详细的数据应该只记录在非 - 确定性操作,以便可以确定性地模拟那些非确定性操作(而不是在重新执行的结果可能不同的情况下尝试重新执行这些操作),这取决于重放期间的详细数据。

Patent Agency Ranking