EUVIMEDObjevte EUVIMED
Open access · CC BY 4.0

JavaScript Pointer Analysis with Adaptive Heap Abstraction

Wenyuan Xu, Anders Møller

Proceedings of the ACM on Software Engineering · 2026-06-30 · 3 (FSE) · 832-852

DOI: 10.1145/3797133 ↗

At a glance

Journal article in Proceedings of the ACM on Software Engineering, published online on 2026-06-30. Written by Wenyuan Xu and 1 co-authors. 31 references. The full text is freely available (open access, CC BY 4.0). Funded by: Danish Research Council for Technology and Production.

AbstraktBibliografické údajeCiteRelated studies

Abstract (original language)

The conventional approach to represent objects in static program analysis is to use allocation-site abstraction. This design choice may lead to redundant computations when many abstract objects are similar. Existing mechanisms that aim to merge such objects are not effective for JavaScript. We propose a novel adaptive heap abstraction technique that during analysis discovers and merges similar abstract objects, thereby reducing the analysis complexity while preserving most of the precision. The technique has been implemented in a state-of-the-art program analyzer for JavaScript. On a collection of 96 challenging programs, it yields a 2X speedup on average (up to 17X) with a negligible loss of precision. The experimental results also show the effects of various analysis configurations.

Funding

  • Danish Research Council for Technology and Production

Cite

APA

Xu, W., & Møller, A. (2026). JavaScript Pointer Analysis with Adaptive Heap Abstraction. Proceedings of the ACM on Software Engineering, 3(FSE), 832-852. https://doi.org/10.1145/3797133

Vancouver

Xu W, Møller A. JavaScript Pointer Analysis with Adaptive Heap Abstraction. Proceedings of the ACM on Software Engineering. 2026;3(FSE):832-852. doi:10.1145/3797133

BibTeX
@article{Xu2026,
  author = {Xu, Wenyuan and Møller, Anders},
  title = {JavaScript Pointer Analysis with Adaptive Heap Abstraction},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2026},
  volume = {3},
  number = {FSE},
  pages = {832--852},
  doi = {10.1145/3797133}
}
Start for free →