Abstract
The recent transition in the software industry toward dynamically generated code poses a new challenge to existing dynamic binary translation (DBT) systems. A significant re-translation overhead could be introduced due to the maintenance of the consistency between the dynamically-generated guest code and the corresponding translated host code. To address this issue, this paper presents a novel approach to optimize DBT systems for guest applications with dynamically-generated code. The proposed approach can maximize the reuse of previously translated host code to mitigate the re-translation overhead. A prototype based on such an approach has been implemented on an existing DBT system HQEMU. Experimental results on a set of JavaScript applications show that it can achieve a 1.24X performance speedup on average compared to the original HQEMU.
Original language | English (US) |
---|---|
Pages (from-to) | 17-30 |
Number of pages | 14 |
Journal | ACM SIGPLAN Notices |
Volume | 53 |
Issue number | 3 |
DOIs | |
State | Published - Mar 25 2018 |
Bibliographical note
Funding Information:This work is also partially supported by the Natural Science Foundation of Tianjin, China under Grant No. 16JCY-BJC15200 and 17JCQNJC00300, the Major Science and Technology Program of Big Data and Cloud Computing of Tianjin, China under Grant No. 15ZXDSGX00020, the National Key Research and Development Program of China under Grant No. 2016YFC0400709, the National Natural Science Foundation of China (61702286), Open Projects of State Key Laboratory of Computer Architecture, Institute of Computing Technology, Chinese Academy of Sciences (CARCH201604), and Special Funding for Excellent Enterprise Technology Correspondent of Tianjin, China (17JCTPJC49500).
Funding Information:
This material is based upon work supported by the National Science Foundation under Grant No. 1514444. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author and do not necessarily reflect the views of the National Science Foundation.
Publisher Copyright:
© 2018 ACM.
Keywords
- Binary Code Matching
- DBT
- JIT