DocumentCode :
3105681
Title :
Dynamically accelerating client-side web applications through decoupled execution
Author :
Mehrara, Mojtaba ; Mahlke, Scott
Author_Institution :
Univ. of Michigan, Ann Arbor, MI, USA
fYear :
2011
fDate :
2-6 April 2011
Firstpage :
74
Lastpage :
84
Abstract :
The emergence and wide adoption of Web applications have moved the client-side component, often written in JavaScript, to the forefront of computing on the Web. Web application developers try to move more computation to the client side to avoid unnecessary network traffic and make the applications more responsive. Therefore, JavaScript applications are becoming larger and more computation intensive. Trace-based just-in-time compilation have been proposed to address the performance bottleneck in these applications. In this paper, we exploit the extra processing power in multicore systems to further improve the performance of trace-based execution of JavaScript programs. In trace-based engines, a considerable portion of execution time is spent on running guards which are operations inserted in the native code to check if the properties assumed by the compiled code actually hold during execution. We introduce ParaGuard to off-load these guards to another thread, while speculatively executing the main trace. In a manner similar to what happens in current trace-based JITs, if a check fails, ParaGuard aborts the native trace execution and reverts back to interpreting the JavaScript bytecode. We also propose several optimizations including guard branch aggregation and profile-based snapshot elimination to further improve the performance of our technique. We show that ParaGuard can achieve an average of 15% performance improvement over current trace-based compilers using an extra processor on commodity multicore processors.
Keywords :
Internet; Java; multi-threading; program compilers; JavaScript program; client side component; compiled code; decoupled execution; multicore system; trace based execution; Browsers; Context; Games; Instruction sets; Monitoring; Optimization; Runtime;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Code Generation and Optimization (CGO), 2011 9th Annual IEEE/ACM International Symposium on
Conference_Location :
Chamonix
Print_ISBN :
978-1-61284-356-8
Electronic_ISBN :
978-1-61284-358-2
Type :
conf
DOI :
10.1109/CGO.2011.5764676
Filename :
5764676
Link To Document :
بازگشت