Ensuring determinism during programmatic replay in a virtual machine
Abstract
A replay core ensures that references to objects are removed at the same relative times and in the same relative order within a program's execution during both record time and replay time. A register method of a Finalizer class is modified to cause the register method to pass, to a specified programmatic mechanism, an object that was passed to the register method; modifying a finalize method of a class of the object to (a) cause the object to invoke a first method of the programmatic mechanism when the finalize method is invoked by a virtual machine and (b) prevent a remainder of the finalize method from completing under specified conditions, thereby causing a call to the finalize method to remain undispatched. The first method, when invoked, (a) adds, to the object, a reference that temporarily prevents the object from being deleted and (b) records an identifier of the object.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: modifying a register method of a Finalizer class to cause the register method to pass, to a specified programmatic mechanism, an object that was passed to the register method; modifying a finalize method of a class of the object to (a) cause the object to invoke a first method of the specified programmatic mechanism when the finalize method is invoked by a virtual machine and (b) prevent a remainder of the finalize method from completing under specified conditions, thereby causing a call to the finalize method to remain undispatched; wherein the first
- Claim 2Depends on #1
The method of claim 1 , further comprising: determining whether any out
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Bond et al., "Efficient Deterministic Replay of Multithreaded Executions in a Managed Language Virtual Machine", Sep. 2015, ACM, pp. 90-101; <http://dl.acm.org/citation.cfm?id=2807434&CFID=804789808&CFTOKEN=19243874>.
- Borger, et al., "Initialization problems in Java," Software Concepts and Tools, 1999, pp. 1-5.
- 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, 11101/2001; pp. 125-138, 14 pages.
- Final Office Action dated Jun. 27, 2013, U.S. Appl. No. 12/826,435, filed Jun. 29, 2010, 55 pages.
- Final Office Action dated Mar. 29, 2013, U.S. Appl. No. 12/825,923, filed Jun. 29, 2010, 28 pages.