EUVIMEDEUVIMED entdecken
Crossref

Formal Specification and Verification of JDK’s Identity Hash Map Implementation

Martin De Boer, Stijn De Gouw, Jonas Klamroth, Christian Jung, Mattias Ulbrich, Alexander Weigl

Formal Aspects of Computing · 30.09.2023 · 35 (3) · 1-26

DOI: 10.1145/3594729 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Formal Aspects of Computing, online erschienen am 13.09.2023. Verfasst von Martin De Boer und 5 weiteren Autor:innen. Die Arbeit wurde bisher 10-mal zitiert (Crossref) und nennt 26 Literaturangaben.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Hash maps are a common and important data structure in efficient algorithm implementations. Despite their wide-spread use, real-world implementations are not regularly verified. In this article, we present the first case study of the IdentityHashMap class in the Java JDK. We specified its behavior using the Java Modeling Language (JML) and proved correctness for the main insertion and lookup methods with KeY, a semi-interactive theorem prover for JML-annotated Java programs. Furthermore, we report how unit testing and bounded model checking can be leveraged to find a suitable specification more quickly. We also investigated where the bottlenecks in the verification of hash maps lie for KeY by comparing required automatic proof effort for different hash map implementations and draw conclusions for the choice of hash map implementations regarding their verifiability.

Zitieren

APA

Boer, M. D., Gouw, S. D., Klamroth, J., Jung, C., Ulbrich, M., & Weigl, A. (2023). Formal Specification and Verification of JDK’s Identity Hash Map Implementation. Formal Aspects of Computing, 35(3), 1-26. https://doi.org/10.1145/3594729

Vancouver

Boer MD, Gouw SD, Klamroth J, Jung C, Ulbrich M, Weigl A. Formal Specification and Verification of JDK’s Identity Hash Map Implementation. Formal Aspects of Computing. 2023;35(3):1-26. doi:10.1145/3594729

BibTeX
@article{Boer2023,
  author = {Boer, Martin De and Gouw, Stijn De and Klamroth, Jonas and Jung, Christian and Ulbrich, Mattias and Weigl, Alexander},
  title = {Formal Specification and Verification of JDK’s Identity Hash Map Implementation},
  journal = {Formal Aspects of Computing},
  year = {2023},
  volume = {35},
  number = {3},
  pages = {1--26},
  doi = {10.1145/3594729}
}
Kostenlos starten →