arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Hardware and Architecture

Preliminary Results of Combining Thread-Level Speculation and Just-in-Time Compilation in Google’s V8

Jan Kasper Martinsen, Håkan Grahn, Anders Isberg

· KTH Publication Database DiVA (KTH Royal Institute of Technology)

See on the map

Abstract

We present the first implementation of Thread-Level Speculation in combination with Just-in-time compilation. The implementation is done in Google’s V8, a well-known JavaScript engine, and evaluated on 15 popular web application executing on 2, 4, and 8 core computers. Our results show an average speedup of 2.9 on 4 cores, without any JavaScript code modifications. Further, we have found that the Just-in-time compilation time is significant, and that most functions are lazily compiled (approximately 80%) and that V8 contains features that are advantageous in Thread-Level Speculation.

More like this