arXiv · 2501.07472
LitmusKt: Concurrency Stress Testing for Kotlin
Abstract
We present LitmusKt - the first tool for litmus testing concurrent programs in Kotlin. The tool's novelty also lies in the fact that Kotlin is a multiplatform language, i.e., it compiles into multiple platforms, which means that the concurrency has to be tested on several of them. Our tool allows writing litmus tests in a single custom DSL, and these tests are then run in Kotlin/Native and Kotlin/JVM, two main platforms for concurrent programming in Kotlin. Using LitmusKt, we discovered novel bugs in the Kotlin compiler, which we then fixed and they are no longer present. Moreover, LitmusKt was integrated into the CI pipeline for Kotlin. LitmusKt is available on GitHub: https://github.com/JetBrains-Research/litmuskt. The demo is available on YouTube: https://youtu.be/oWCZp_Huwss.
Explore related subjects
Keep this discovery
Denis Lochmelis, Evgenii Moiseenko, Yaroslav Golubev, Anton Podkopaev. 2025-01-13. LitmusKt: Concurrency Stress Testing for Kotlin. https://doi.org/10.1145/3696630.3728584
Cite the original work for its findings. Save a collection to share your selection of sources.