Cross-domain inlining in a system virtual machine
Abstract
A system and method are provided for inlining across protection domain boundaries with a system virtual machine. A protection domain comprises a unique combination of a privilege level and a memory address space. The system virtual machine interprets or dynamically compiles not only application code executing under guest operating systems, but also the guest operating systems. For a program call that crosses a protection domain boundary, the virtual machine assembles an intermediate representation (IR) graph that spans the boundary. Region nodes corresponding to code on both sides of the call are enhanced with information identifying the applicable protection domains. The IR is optimized and used to generate instructions in a native ISA (Instruction Set Architecture) of the virtual machine. Individual instructions reveal the protection domain in which they are to operate, and instructions corresponding to different domains may be interleaved.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of optimizing across a protection domain boundary in a system virtual machine, the method comprising: identifying a program call from a first protection domain to a second protection domain; augmenting a first region node of an intermediate representation of code comprising a source of the program call with information configured to identify the first protection domain; augmenting a second region node of an intermediate representation of code comprising a destination of the program call with information configured to identify the second protection domain; inlining
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- Adams, Keith et al., A Comparison of Software and Hardware Techniques for x86 Virtualization, ASPLOS '06, Oct. 21-25, 2006, San Jose, CA, USA, ACM Press.
- Paleczny, Michael et al., "The Java HotSpot Server Compiler", Proceedings of the Java (TM) Virtual Machine Research and Technology Symposium (JVM '01) USENIX Apr. 23-24, 2001.
- Smith, James E. et al., "Virtual Machines: Versatile Platforms for Systems and Processes", Morgan Kaufmann, 2005, pp. 9-13, 17-22, 169-171, 333-337, 402-404.
- Title: The Information Flow Certification Using Intermediate Code Program Representation, author: Mennie et al, source: IEEE, dated: 1981.
- Weaver, David L. et al., "The SPARC Architecture Manual", Version 9, Prentice Hall, 1994.