Wallach, Dan S.2009-06-042009-06-042002Rudys, Algis P.. "Termination and rollback in language-based systems." (2002) Master’s Thesis, Rice University. <a href="https://hdl.handle.net/1911/17619">https://hdl.handle.net/1911/17619</a>.https://hdl.handle.net/1911/17619Language run-time systems are routinely used to host potentially buggy or malicious code in a secure environment. For this thesis, we address a single aspect of the resource-management problem, the problem of code termination, including the related issue of restarting previously terminated code. We provide formal analysis, including proofs of the correctness of our termination system for an idealized language. We also consider implementations of our systems in Java using bytecode rewriting. The performance impact of these systems ranged from relatively modest (3 to 25% overhead for soft termination), to severe, although perhaps unavoidable (6 to 23x overhead for transactional rollback). We discuss the technique of bytecode rewriting as used here to modify the semantics of a language. Our goal is to provide a mechanism based on code-to-code transformations with semantics for codelets in a run-time system similar to the semantics provided by operating systems for managing processes.93 p.application/pdfengCopyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder.Computer scienceTermination and rollback in language-based systemsThesisTHESIS COMP.SCI. 2003 RUDYS