Map
Index
Random
Help
th

Quote: efficient interface dispatch (invokevirtual) using fixed-sized, interface method tables, disambiguated by a interface method signature; used by Jalapeno

QuoteRef: alpeB6_2001 , p. 622



Topic:
interface type
Topic:
optimization of object-oriented programs

Quotation Skeleton

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.


Related Topics up

Topic: interface type (50 items)
Topic: optimization of object-oriented programs (16 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.