Frameworks for generation of Java macro instructions in Java computing environments
Abstract
Techniques for generation of Java™ macro instructions suitable for use in Java™ computing environments are disclosed. As such, the techniques can be implemented in a Java™ virtual machine to efficiently execute Java™ instructions. As will be appreciated, a Java™ macro instruction can be substituted for two or more Java™ Bytecode instructions. This, in turn, reduces the number of Java™ instructions that are executed by the interpreter. As a result, the performance of virtual machines, especially those operating with limited resources, is improved. A Java™ macro instruction can be generated for conventional Java™ instruction sequences or sequences of Java™ instruction that are provided in a reduced set of instruction. In any case, sequences that are frequently encountered can be replaced by a Java™ macro instruction. These sequences are typically encountered when Java™ objects are instantiated, during programming loops, and when a local variables are assigned a value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of generating a Java macro instruction corresponding to one or more Java Bytecode instructions, said method comprising: reading a stream of Java Bytecode instructions; determining, during Bytecode verification, whether two or more Java Bytecode instructions in said Java Bytecode stream can be represented by one instruction; generating, at load time, a Java macro instruction that represents said two or more Java Bytecode instructions when said determining determines that two or more Java Bytecode instructions in said Java Bytecode stream can be represented by one instruction, wherein s
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 (50)
Non-Patent Literature (5)
- "Programming Models" by Stefano Tommesani, 2001, Source: http://www.tommesani.com/ProgrammingModels.com.
- Accomazzo E et al., "Integrating intermediate Code Optimization with Retargetable Code Generation" Microprocessing and Microprogramming, Elsevier Science Publishers, BV. Amsterdam, NL, vol. 30, No. 1/5, Aug. 1, 1990, pp. 475-481, XP000141684.
- Bill Venners, "How the Java virtual machine handles method invocation and return"Java World, Jun. 1997, pp. 1-10.
- 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. XP-000987276.
- Chang et al, "Type based verifiction of assembly language for compiler debugging", ACM TLDI, pp 91-102, Jan. 2005.