Efficient Dispatch of Java Interface Methods

HPCN Europe(2001)

引用 1|浏览24
暂无评分
摘要
Virtual methods can be dispatched efficiently because the code for corresponding methods reside at the same entries in their respective virtual method tables (VMTs). To achieve efficient interface method dispatch, a fixed-sized interface method table (IMT) is associated with each class. Different implementations of the same interface method signature reside at the same entry in their respective IMTs. When a class implements two or more interface methods with the same IMT offset, a conflict resolution stub distinguishes between them at runtime. The resulting interface method dispatch is almost as cheap as its virtual counterpart.
更多
查看译文
关键词
interface method,respective imts,java interface methods,interface method signature,efficient interface method dispatch,virtual counterpart,fixed-sized interface method table,corresponding method,virtual method,respective virtual method table,efficient dispatch,interface method dispatch,conflict resolution
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要