Optimizing the Order of Bytecode Handlers in Interpreters using a Genetic Algorithm
Wanhong Huang, Stefan Marr, Tomoharu Ugawa · 2023
Interpreter performance remains important today. Interpreters are needed in resource constrained systems, and even in systems with just-in-time compilers, they are crucial during warm up. A common form of interpreters is a bytecode interpreter, where the interpreter executes bytecode instructions one by one. Each bytecode is executed by the corresponding bytecode handler.