Work

Efficient Java interface invocation using IZone

Year: 2004
Type: dissertation
Abstract: This thesis addresses the problem of improving the efficiency of interface invocation in the Java Virtual Machine (JVM).In current JVM implementations, interface method invocation is not so efficient as virtual method invocation, because of the need to support multiple interface inheritance in Java.This leads to the mistaken impression that Java interface invocation is inherently inefficient.This thesis will show that, with proper implementation, the performance of interface invocation can be substantially improved.A new approach -IZone based interface invocationis proposed in this thesis.IZone is a new data structure associated with an interface type in the method area.It is composed of several implementation lookup areas, one for each subclass of the interface.IZone is populated as subclasses are loaded and resolved, ensuring that the lookup areas within it are arranged in the resolution order of the corresponding subclasses.A fully constructed IZone contains pointers to different subclasses' implementation of the interface methods.Within a lookup area, the pointers are arranged according to the corresponding methods' declaration order by the interface.By taking advantage of class resolution orders and method declaration orders, IZone provides a quick access to the implementation of interface met hods.As the experimental results demonstrate, with moderate space overhead, IZonebased interface invocation is the fastest approach after lightweight optimizations, and the second fastest after heavyweight optimizations. To my parents! I am deeply
Author: Xiaojing Wu
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W974205685
Cites: 9
Cited by:
Related to: 10