Efficient dispatch of Java']Java interface methods

被引:0
|
作者
Alpern, B
Cocchi, A
Grove, D
Lieber, D
机构
来源
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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 run-time. The resulting interface. method dispatch is almost as cheap as its virtual counterpart.
引用
收藏
页码:621 / 628
页数:8
相关论文
共 50 条
  • [1] Expressive and Modular Predicate Dispatch for Java']Java
    Millstein, Todd
    Frost, Christopher
    Ryder, Jason
    Warth, Alessandro
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2009, 31 (02):
  • [2] plapackJava']Java:: Towards an efficient Java']Java interface for high performance parallel linear algebra
    Gamess, E
    [J]. INFORMATION PROCESSING LETTERS, 2000, 75 (05) : 191 - 197
  • [3] Efficient Java']Java Native Interface for Android Based Mobile Devices
    Lee, Yann-Hang
    Chandrian, Preetham
    Li, Bo
    [J]. TRUSTCOM 2011: 2011 INTERNATIONAL JOINT CONFERENCE OF IEEE TRUSTCOM-11/IEEE ICESS-11/FCST-11, 2011, : 1202 - 1209
  • [4] A Java']Java interface for WMPI
    Martins, P
    Silva, LM
    Silva, JG
    [J]. RECENT ADVANCES IN PARALLEL VIRTUAL MACHINE AND MESSAGE PASSING INTERFACE, 1998, 1497 : 121 - 128
  • [5] A Java']Java interface for SkyView
    McGlynn, TA
    Scollick, KA
    White, NE
    [J]. ASTRONOMICAL DATA ANALYSIS SOFTWARE AND SYSTEMS VI, 1997, 125 : 337 - 340
  • [6] MultiJava']Java: Modular open classes and symmetric multiple dispatch for Java']Java
    Clifton, C
    Leavens, GT
    Chambers, C
    Millstein, T
    [J]. ACM SIGPLAN NOTICES, 2000, 35 (10) : 130 - 145
  • [7] Javia: A Java']Java interface to the virtual interface architecture
    Chang, CC
    von Eicken, T
    [J]. CONCURRENCY-PRACTICE AND EXPERIENCE, 2000, 12 (07): : 573 - 593
  • [8] Efficient Java']Java™ monitors
    Blomdell, A
    [J]. FOURTH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2001, : 270 - 276
  • [9] Building a better interface with Java']Java
    Turk, A
    [J]. BYTE, 1997, 22 (08): : 45 - 46
  • [10] Java']Java message passing interface
    Young, GH
    Wan, LM
    Yiu, VS
    [J]. PROCEEDINGS OF THE IEEE 1997 AEROSPACE AND ELECTRONICS CONFERENCE - NAECON 1997, VOLS 1 AND 2, 1997, : 189 - 194