Optimizing Constant Value Generation in Just-in-time Compiler for 64-bit JavaScript Engine 


Vol. 43,  No. 1, pp. 34-39, Jan.  2016


PDF

  Abstract

JavaScript is widely used in web pages with HTML. Many JavaScript engines adopt Just-in-time compilers to accelerate the execution of JavaScript programs. Recently, many newly introduced devices are adopting 64-bit CPUs instead of 32-bit and Just-in-time compilers for 64-bit CPU are slowly being introduced in JavaScript engines. However, there are many inefficiencies in the currently available Just-in-time compilers for 64-bit devices. Especially, the size of code is significantly increased compared to 32-bit devices, mainly due to 64-bit wide addresses in 64-bit devices. In this paper, we are going to address the inefficiencies introduced by 64-bit wide addresses and values in the Just-in-time compiler for the V8 JavaScript engine and propose more efficient ways of generating constant values and addresses to reduce the size of code. We implemented the proposed optimization in the V8 JavaScript engine and measured the size of code as well as performance improvements with Octane and SunSpider benchmarks. We observed a 3.6% performance gain and 0.7% code size reduction in Octane and a 0.32% performance gain and 2.8% code size reduction in SunSpider.


  Statistics
Cumulative Counts from November, 2022
Multiple requests among the same browser session are counted as one view. If you mouse over a chart, the values of data points will be shown.


  Cite this article

[IEEE Style]

H. Choi and J. Lee, "Optimizing Constant Value Generation in Just-in-time Compiler for 64-bit JavaScript Engine," Journal of KIISE, JOK, vol. 43, no. 1, pp. 34-39, 2016. DOI: .


[ACM Style]

Hyung-Kyu Choi and Jehyung Lee. 2016. Optimizing Constant Value Generation in Just-in-time Compiler for 64-bit JavaScript Engine. Journal of KIISE, JOK, 43, 1, (2016), 34-39. DOI: .


[KCI Style]

최형규, 이제형, "64-bit 자바스크립트 적시 컴파일러를 위한 상수 값 생성 최적화," 한국정보과학회 논문지, 제43권, 제1호, 34~39쪽, 2016. DOI: .


[Endnote/Zotero/Mendeley (RIS)]  Download


[BibTeX]  Download



Search




Journal of KIISE

  • ISSN : 2383-630X(Print)
  • ISSN : 2383-6296(Electronic)
  • KCI Accredited Journal

Editorial Office

  • Tel. +82-2-588-9240
  • Fax. +82-2-521-1352
  • E-mail. chwoo@kiise.or.kr