• DocumentCode
    320551
  • Title

    Incremental table-based method dispatch for reflective object-oriented languages

  • Author

    Holst, Wade ; Szafron, Duane

  • Author_Institution
    Dept. of Comput. Sci., Alberta Univ., Edmonton, Alta., Canada
  • fYear
    1997
  • fDate
    28 Jul-1 Aug 1997
  • Firstpage
    63
  • Lastpage
    74
  • Abstract
    A collection of algorithms and data structures are presented which provide incremental dispatch table modification. Incrementally modified dispatch tables allow table-based dispatch techniques to be used in reflective, dynamically typed, single-receiver languages with type/implementation-paired multiple inheritance. By storing a small amount of information, the algorithms can incrementally maintain the entire dispatch environment during the four fundamental environment modification requests: adding/removing selectors to/from classes and adding/removing class hierarchy links. The algorithms combine method dispatch calculation, inheritance management, and inheritance conflict detection into a single process, making the algorithms highly efficient. The algorithms also incrementally compute hierarchy information to establish which method addresses can be uniquely identified during compilation
  • Keywords
    incremental compilers; inheritance; object-oriented languages; algorithms; class hierarchy link addition; class hierarchy link removal; compilation; data structures; environment modification requests; hierarchy information; incremental dispatch table modification; incremental table-based method dispatch; inheritance conflict detection; inheritance management; method dispatch calculation; reflective dynamically typed single-receiver languages; reflective object-oriented languages; selector addition; selector removal; type/implementation-paired multiple inheritance; Data structures; Runtime;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Technology of Object-Oriented Languages and Systems, 1997. TOOLS 23. Proceedings
  • Conference_Location
    Santa Barbara, CA
  • Print_ISBN
    0-8186-8383-X
  • Type

    conf

  • DOI
    10.1109/TOOLS.1997.654701
  • Filename
    654701