{"title":"Compact Interface Method Table Layout","authors":"Ivan Trepakov, P. Pavlov","doi":"10.1109/IVMEM51402.2020.00018","DOIUrl":null,"url":null,"abstract":"This article describes a novel interface method table (IMT) layout approach, which allocates interface method tables inside virtual method table (VMT), allowing for table entries to be shared between VMT and multiple IMTs. Similarly to VMT layout inheritance for classes, a heuristical IMT layout inheritance scheme is implemented for interfaces. Unlike prior schemes, proposed “all or nothing” heuristic achieves considerable total table size reduction without any dispatch overhead. Together with combined layout of IMT and VMT, interface layout inheritance opens up even more opportunities for IMT layout reuse and total table size reduction. Application of all techniques outlined in this article results in a significant reduction of overall executable size.","PeriodicalId":325794,"journal":{"name":"2020 Ivannikov Memorial Workshop (IVMEM)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2020-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 Ivannikov Memorial Workshop (IVMEM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IVMEM51402.2020.00018","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This article describes a novel interface method table (IMT) layout approach, which allocates interface method tables inside virtual method table (VMT), allowing for table entries to be shared between VMT and multiple IMTs. Similarly to VMT layout inheritance for classes, a heuristical IMT layout inheritance scheme is implemented for interfaces. Unlike prior schemes, proposed “all or nothing” heuristic achieves considerable total table size reduction without any dispatch overhead. Together with combined layout of IMT and VMT, interface layout inheritance opens up even more opportunities for IMT layout reuse and total table size reduction. Application of all techniques outlined in this article results in a significant reduction of overall executable size.