• DocumentCode
    3503571
  • Title

    Efficient Online Trace Building Using Code Replication

  • Author

    Deng, Haipeng ; Chen, Kai ; Liu, Bo ; He, Yunchao ; Zhou, Kan ; Yang, Yindong ; Liang, Alei ; Guan, Haibing

  • Author_Institution
    Sch. of Software, Shanghai Jiao Tong Univ., Shanghai, China
  • fYear
    2010
  • fDate
    1-5 Nov. 2010
  • Firstpage
    70
  • Lastpage
    74
  • Abstract
    Hot trace building plays an important role in enhancing the performance of dynamic binary translators, since in most cases 10% of code takes 90% of execution time of the whole program. Hot traces can promote the code position to make better the locality of the code, therefore programs can achieve a better performance. Thus how to build qualified and long hot traces is the key point. Considering the situation when one single basic block is needed by more than two hot traces, code replication can help build hot traces with cost of expansion of code size. In this paper, a code replication method to help with building hot traces as well as code positioning is presented, and experiments have been done to evaluate the details of changes that code replication brings to the system, like trace fragment length, memory size expansion, etc. With this method, a performance promotion by 0.5%-3.5% against the original trace building method has been achieved.
  • Keywords
    program diagnostics; program interpreters; code positioning; code replication; dynamic binary translators; efficient online trace building; hot trace building; hot traces; memory size expansion; trace fragment length; DBT; code replication; hot trace; virtual machine;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Grid and Cooperative Computing (GCC), 2010 9th International Conference on
  • Conference_Location
    Nanjing
  • Print_ISBN
    978-1-4244-9334-0
  • Electronic_ISBN
    978-0-7695-4313-0
  • Type

    conf

  • DOI
    10.1109/GCC.2010.26
  • Filename
    5662526