Frameworks for invoking methods in virtual machines
Abstract
Improved frameworks for implementing class files that are particularly useful in virtual machine based computing systems will be described. In one aspect of the invention, each method within a class file is associated with a corresponding “reference cell.” The reference cells typically include sufficient information to facilitate the invocation of the corresponding method. By way of example, each reference cell may include a class pointer field, a method name field, a signature field and potentially other fields. In another aspect of the invention, a process for loading class files into a virtual machine based computing system is described. Each method invocation within the class file is translated into an internal invocation that references a reference cell associated with the internal class representation that contains the method. The use of such reference cells has the potential in many circumstances to improve the performance of the virtual machine as well as potentially reduce the memory requirements of the internal class representations. In yet another aspect of the invention, each method invocation in a class file is reviewed during loading to determine whether a reference c
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 9.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
An internal class representation data structure embodied in a computer readable medium, the internal class representation being suitable for use by a virtual machine at runtime, the internal class representation comprising: a first method; and a reference cell that corresponds to the first method, the reference cell including, a class pointer field that can be used to locate an internal representation of a class, a method name field that contains or references the name of the first method, and a signature field that contains or references a signature associated with the first method.
- Claim 2Depends on #1
An internal class representation data structure as recited in claim 1 wherein the reference cell further includes: an information field arranged for containing or referencing information generated at runtime by the virtual machine; and a link field arranged to conta
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (35)
Non-Patent Literature (5)
- Case B: "Implementing The Java Virtual Machine Java's Complex Instruction Set Can Be Built in Software or Hardware," Microprocessor Report, vol. 10, No. 4, Mar. 25, 1996, pp. 12-17.
- Chang, Da-Wei et al., "EJVM: an economic Java run-time environment for embedded devices", Software Practice and Experience, 2001, John Wiley & Sons, vol. 31, No. 2, pp. 129-146. XP-000987539.
- Gosling, James et al., "The Java(TM) Language Specification", 1996, The Java(TM) Language Specification, Chapter 12 Execution, pp. 215-236. XP-002032923.
- Hummel et al., "Annotating the Java bytecodes in support of optimization," Concurrency: Practice and Exprerience, John Wiley and Sons, vol. 9(11), Nov. 1997, pp. 1003-1016.
- Jean-Paul Billon, "Executable File Format (JEFF) Specification, Draft," J Consortium Jeff Working Group, Online! Feb. 22, 2001, p. 1-43.