Rice University
Department of Computer Science
presents
David Detlefs
Sun Microsystems
Inlining of Virtual Methods in Java Virtual Machine
JIT Compilers
Abstract
Inlining is well-known compilation technique, with many obvious benefits. Virtual methods in object-oriented languages complicate inlining, since it is not immediately obvious from a method invocation site what code will be executed at run time.
I present two approaches to inlining of virtual invocations. One uses a novel style of guard
code to test whether inlined code is appropriate for the object on which the virtual method is being invoked. The other is so new that, on order of corporate lawyers, I can't tell you too much about it until a patent is filed next week -- let's just say that in certain situations you can dispense with the guard code entirely.
Wednesday, October 14, 1998 at 4 p.m. in DH 1064
Reception to follow in DH1049
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- |