We propose a method which provides a optimization for the OpenJDK interpreter without requiring a JIT or platform-specific code ("inline assembly"). By using code generation to generate an application specific interpreter it is possible to offer increased performance for those applications. The interpreter is generated by use of a profile from the running application which identifies hotspots and often-executed paths and converts common sequences of bytecode instructions to a single sequence of C++ code representing a single "superinstruction", which can then be compiled to a binary application by a C++ compiler. Java bytecode is converted to these superinstructions by a matching algorithm, and performance is improved by a reduction in the number of instruction dispatches in the interpreter loop. Various algorithms for deciding the best sequences of bytecodes to compile and various matching algorithms to -- at class load time -- map bytecode instructions to these superinstructions are discussed.
Thursday 5 December 2019 15:45
- Tue 19 Nov 2019Platform Economy Puzzles: Unraveling the Gig Work Paradox
- Tue 19 Nov 2019 17:00 - 21:00DEAN alumni event: Geneva
- Mon 25 Nov 2019 12:30 - 14:00Studium Generale - Interview with Philip Vermeulen
- Tue 26 Nov 2019 12:30 - 14:00Studium Generale - Dutch Identity
- Tue 26 Nov 2019 16:00 - 20:00TechMed Series: Involving end users in the design process - Session 2 of 8