Virtual method dispatch is efficient in Jalapeno because … [virtual method table] … is compiled. Jalapeno devotes a fixed-sized portion of … [type information block], called the interface method table (IMT), to allow interface methods … All methods that implement a particular interface method … is assigned a unique id. Each id is … Currently, ids are mapped directly to IMT slots … Before Jalapeno branches (and links) to the code … , it loads the interface method signature of … interface method calls upon objects of a class … hidden parameter is ignored. … [p. 625] [For example, the opt-compiler benchmark makes heavy use of interfaces. It is about 1/3 faster with the new invokevirtual.]
Google-1
Google-2
Copyright clearance needed for quotation.