Multi-level undo of main-memory and volatile resources
Abstract
System resources (e.g., objects or other resources) are managed to provide multiple levels of undo and/or support for delegation of updates on main-memory resident objects accessible by concurrent transactions. For example, a log associated with each transaction stores information regarding an update to an object when the object is locked in an update mode (e.g., a write mode) by the transaction. The transaction can be rolled back by restoring information from the log of the transaction to the object. If the transaction commits, then the log may be destroyed. If the transaction delegates to another transaction, the log of the transaction is also delegated. A record codelet can be automatically generated to perform the storing of information in the log, and a restore codelet can be automatically generated to undo updates by restoring information from the log to the updated objects. The codelets may be specific to each class of objects. Lock state information is used to identify undo information age so that the undo information may be stored in the log without regard to order, thereby enhancing the speed of the recording process.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 67.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of providing a capability of undoing an object update in a memory of an information processing system, the method comprising: detecting a loading event for a class in the information processing system; and generating at least one class-specific codelet corresponding to the class responsive to the loading event, wherein generating the at least one class-specific codelet comprises: generating a record codelet corresponding to the loaded class; and generating a restore codelet corresponding to the class.
- Claim 2Depends on #1
The method of claim 1 wherein the step of generating the record codelet includes generating instructions for logging information regarding a state of an object in the class prior to the object being updated; and the step of generating the restore codelet includes generating instructions for undoing an update to an object in the class using informat
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 67 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- A. Biliris et al, "Asset: A System Supporting Extended Transaction," in Proc. of ACM SIGMOD Int'l Conf. on Management of Data, Minneapolis, MN, May 1994, pp. 11. http://www.cs.umass.edu/Dienst/UI/2.0/Describe/ncstrl.umassa<SUB>-</SUB>cs/UM-CS-1994-027.
- Barbara Liskov et al., "Implementation of Argus", Proceedings of 11<SUP>th </SUP>International Symposium on Operating System Principle (SOSP), 1987, pp. 111-122.
- C. Pu, G. E. Kaiser, & N. Hutchinson, "Split Transactions for Open-Ended Activities," in Proc. of the ACM SIGMOD Int'l Conf. on Management of Data, 1998, 13 pages. http://citeseer.nj.nec.com/pu88splittransactions.html.
- E. T. Mueller, J. D. Moore & G. J. Popek, "A Nested Transaction Mechanism for LOCUS," in Proc. of 9th Int'l Symposium on Operating System Principle (SOSP), 1983, pp. 71-89. http://www.cis.upenn.edu/~bcpierce/courses/dd/topics.html.
- G. E. Kaiser & C. Pu, "Dynamic Restructuring of Transactions," Database Transaction Models for Advanced Applications, Data Management Systems, Morgan-Kauffman, 1992, pp. 1-27. http://citeseer.nj.nec.com/kaiser92dynamic.html.