Efficient implementation of Java interfaces

Bowen Alpern, Anthony Cocchi, Stephen J. Fink, David Grove · 2001

Single superclass inheritance enables simple and efficient table-driven virtual method dispathc. However, virtual method table dispatch does not handle multiple inheritance and interfaces. This complication has led to a widespread misimpression that interface method dispatch is inherently inefficient. This paper argues that with proper implementation techniques, Java interfaces need not be a source of significant performance degradation.

Read the paper · More papers on PaperTik