Skip to Main content Skip to Navigation
Conference papers

Property caches revisited

Manuel Serrano 1 Marc Feeley 2
1 INDES - Secure Diffuse Programming
CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : Property caches are a well-known technique invented over 30 years ago to improve dynamic object accesses. They have been adapted to JavaScript, which they have greatly contributed to accelerate. However, this technique is applicable only when some constraints are satisfied by the objects, the properties, and the property access sites. In this work, we propose enhancements to improve two common usage patterns: prototype accesses and megamorphic accesses. We have implemented these in the Hopc AOT JavaScript compiler and we have measured their impact. We observe that they effectively complement traditional caches. They reduce cache misses and consequently accelerate execution. Moreover, they do not cause a slowdown in the handling of the other usage patterns.
Document type :
Conference papers
Complete list of metadatas

https://hal.inria.fr/hal-02418678
Contributor : Manuel Serrano <>
Submitted on : Thursday, December 19, 2019 - 9:28:37 AM
Last modification on : Monday, July 20, 2020 - 12:33:14 PM

Identifiers

Collections

Citation

Manuel Serrano, Marc Feeley. Property caches revisited. CC 2019 - 28th International Conference on Compiler Construction, Feb 2019, Washington, United States. pp.99-110, ⟨10.1145/3302516.3307344⟩. ⟨hal-02418678⟩

Share

Metrics

Record views

60