Change search
ReferencesLink to record
Permanent link

Direct link
Design and Implementation of Thread-Level Speculation in JavaScript Engines
Blekinge Institute of Technology, Faculty of Computing, Department of Computer Science and Engineering.
2014 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

Two important trends in computer systems are that applications are moved to the Internet as web applications, and that computer systems are getting an increasing number of cores to increase the performance. It has been shown that JavaScript in web applications has a large potential for parallel execution despite the fact that JavaScript is a sequential language. In this thesis, we show that JavaScript execution in web applications and in benchmarks are fundamentally different and that an effect of this is that Just-in-time compilation does often not improve the execution time, but rather increases the execution time for JavaScript in web applications. Since there is a significant potential for parallel computation in JavaScript for web applications, we show that Thread-Level Speculation can be used to take advantage of this in a manner completely transparent to the programmer. The Thread-Level Speculation technique is very suitable for improving the performance of JavaScript execution in web applications; however we observe that the memory overhead can be substantial. Therefore, we propose several techniques for adaptive speculation as well as for memory reduction. In the last part of this thesis we show that Just-in-time compilation and Thread-Level Speculation are complementary techniques. The execution characteristics of JavaScript in web applications are very suitable for combining Just-in-time compilation and Thread-Level Speculation. Finally, we show that Thread-Level Speculation and Just-in-time compilation can be combined to reduce power usage on embedded devices.

Place, publisher, year, edition, pages
Karlskrona: Blekinge Tekniska Högskola, 2014. , 202 p.
Blekinge Institute of Technology Doctoral Dissertation Series, ISSN 1653-2090 ; 8
Keyword [en]
parallel computation, web applications, thread-level speculation
National Category
Computer and Information Science
URN: urn:nbn:se:bth-00589Local ID: 978-91-7295-281-2OAI: diva2:834223
Available from: 2014-06-17 Created: 2014-04-03 Last updated: 2016-09-08Bibliographically approved

Open Access in DiVA

fulltext(2803 kB)64 downloads
File information
File name FULLTEXT01.pdfFile size 2803 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Martinsen, Jan Kasper
By organisation
Department of Computer Science and Engineering
Computer and Information Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 64 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 46 hits
ReferencesLink to record
Permanent link

Direct link