计算机应用与软件Issue(5):251-255,5.DOI:10.3969/j.issn.1000-386x.2014.05.064
嵌入式浏览器JavaScript引擎的研究与设计
STUDY AND DESIGN OF EMBEDDED BROWSER JAVASCRIPT ENGINE
摘要
Abstract
Aiming at the problems of high overhead and too long time in web pages loading the JavaScript engine has in just-in-time com-pilation mode,in this paper we improve the compiling way of just-in-time compilation mode in JavaScript engine,design a dynamic compila-tion way for JavaScript code,which only compiles instantaneously the hot area frequently executed in JavaScript code,while the rest of the JavaScript codes are running in interpretation mode,thus the just-in-time compilation is properly used.Finally the experimental result shows that the dynamic compilation way can reduce the overhead of the JavaScript engine,and decreases the web pages loading time.关键词
JavaScript引擎/即时编译/动态编译/热点区域Key words
JavaScript engine/Just-in-time compilation/Dynamic compilation/Hot area分类
信息技术与安全科学引用本文复制引用
余启洋,桑楠,郭文生..嵌入式浏览器JavaScript引擎的研究与设计[J].计算机应用与软件,2014,(5):251-255,5.基金项目
国家核高基重大专项目(2012ZX01033-001-001)。 ()