首页> 外文期刊>Concurrency and computation: practice and experience >Combining thread-level speculation and just-in-time compilation in Google's V8 JavaScript engine
【24h】

Combining thread-level speculation and just-in-time compilation in Google's V8 JavaScript engine

机译:在Google的V8 JavaScript引擎中将线程级推测与即时编译相结合

获取原文
获取原文并翻译 | 示例

摘要

Thread-level speculation can be used to take advantage of multicore architectures for JavaScript in web applications. We extend previous studies with these main contributions; we implement thread-level speculation in the state-of-the art just-in-time-enabled JavaScript engine V8 and make the measurements in the Chromium web browser both from Google instead of using an interpreted JavaScript engine. We evaluate the thread-level speculation and just-in-time compilation combination on 15 very popular web applications, 20 HTML5 demos from the JS1K competition, and 4 Google Maps use cases. The performance is evaluated on two, four, and eight cores. The results clearly show that it is possible to successfully combine thread-level speculation and just-in-time compilation. This makes it possible to take advantage of multicore architectures for web applications while hiding the details of parallel programming from the programmer. Further, our results show an average speedup for the thread-level speculation and just-in-time compilation combination by a factor of almost 3 on four cores and over 4 on eight cores, without changing any of the JavaScript source code. Copyright © 2016 John Wiley & Sons, Ltd.
机译:线程级推测可用于在Web应用程序中利用JavaScript的多核体系结构。我们以这些主要贡献扩展了先前的研究;我们在启用了最新功能的JavaScript引擎V8中实现了线程级的推测,并且都在Google的Chromium网络浏览器中进行了测量,而不是使用解释性的JavaScript引擎。我们评估了15个非常流行的Web应用程序上的线程级推测和即时编译组合,JS1K竞赛的20个HTML5演示以及4个Google Map用例。在两个,四个和八个内核上评估了性能。结果清楚地表明,可以成功地将线程级推测与即时编译相结合。这使得可以利用Web应用程序的多核体系结构,同时向程序员隐藏并行编程的细节。此外,我们的结果表明,在不更改任何JavaScript源代码的情况下,线程级推测和即时编译组合的平均速度在四个内核上提高了近3倍,在八个内核上提高了4倍。版权所有©2016 John Wiley&Sons,Ltd。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号