Ensuring determinism during programmatic replay in a virtual machine
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method implemented with a processor equipped with memory-stored instructions for carrying out process of statically initializing classes supportive of a replay core context, where the instructions upon being executed by the processor, perform the initialization process comprising steps of: prior to initialization of a class associated with application code, determining that the class contains a static initialization method, wherein the static initialization method has a first name and contains a blocking call; in response to determining that the class contains a static initialization method,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Appeal Brief and Amendment filed in response to Final Office Action for U.S. Appl. No. 12/826,435 dated Jun. 27, 2013, filed Nov. 26, 2013.
- Baur, Marcel, "Instrumenting Jaza Bytecode to Replay Execution Traces of Multithreaded Programs", ETH Zurich, Apr. 2003, 156 pg. ,<InstReplay.pdf.>.
- Choi et al., "Deterministic Replay of Java Multithreaded Applications," SPDT 1998, pp. 48-59.
- Czajkowski, et al., "Multitasking Without Compromise: a Virtual Machine Evolution," Proceedings of the 16th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and application, Nov. 1, 2001; pp. 125-138, 14 pages.
- Final Office Action dated Jan. 8, 2016, U.S. Appl. No. 14/293,923, filed Jun. 2, 2014.