2011 IEEE 17th International Symposium on High Performance Computer Architecture 2011
DOI: 10.1109/hpca.2011.5749748
|View full text |Cite
|
Sign up to set email alerts
|

Checked Load: Architectural support for JavaScript type-checking on mobile processors

Abstract: Dynamic languages such as Javascript are the de-facto standard for web applications. However, generating efficient code for dynamically-typed languages is a challenge, because it requires frequent dynamic type checks. Our analysis has shown that some programs spend upwards of 20% of dynamic instructions doing type checks, and 12.9% on average.In this paper we propose Checked Load, a lowcomplexity architectural extension that replaces softwarebased, dynamic type checking. Checked Load is comprised of four new I… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
10
0

Year Published

2014
2014
2019
2019

Publication Types

Select...
5
1

Relationship

0
6

Authors

Journals

citations
Cited by 23 publications
(13 citation statements)
references
References 18 publications
0
10
0
Order By: Relevance
“…The offset of the property is stored in a new hidden class ( 9 ). When the code reaches line 4 and tries to assign to property Bar, the property is not found in hidden class 9 . So a new hidden class (11 ) is created that stores the binding from Bar to the new function object (10 ).…”
Section: Second Culprit: Methods Bindingsmentioning
confidence: 99%
See 1 more Smart Citation
“…The offset of the property is stored in a new hidden class ( 9 ). When the code reaches line 4 and tries to assign to property Bar, the property is not found in hidden class 9 . So a new hidden class (11 ) is created that stores the binding from Bar to the new function object (10 ).…”
Section: Second Culprit: Methods Bindingsmentioning
confidence: 99%
“…For instance, recent works decrease overheads through program analysis, to statically infer a variable's type [14,16]. Another proposal extends the ISA to load and check the type with a single instruction [9]. Finally, ParaGuard [19] and ParaScript [18] propose hardware support for parallel execution of JavaScript programs.…”
Section: Related Workmentioning
confidence: 99%
“…Consequently, the proposed mechanism requires that objects are created aligned to cache lines. Note that this restriction is not costly [20] and both Nitro [26] and Mozilla JavaScript engines [19] already apply it. Moreover, a Class Cache request needs to specify the relative position that the property occupies inside the cache line.…”
Section: The Class Cachementioning
confidence: 99%
“…Inline Caching technique was first introduced in the Smalltalk compilers [21] and it was later used in Self compilers [ [20]. Checked Load [20] introduces automatic checking of types.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation