LitmusKt:Kotlin 并发压力测试
LitmusKt: Concurrency Stress Testing for Kotlin
AI总结:
LitmusKt 是首个用于 Kotlin 并发程序的 litmus 测试工具,支持多平台测试,发现并修复了编译器错误,已集成到 CI 流水线。
摘要:
我们提出了 LitmusKt——首个用于在 Kotlin 中对并发程序进行 litmus 测试的工具。该工具的新颖之处还在于 Kotlin 是一种多平台语言,即它可以编译到多个平台,这意味着并发性必须在其中多个平台上进行测试。我们的工具允许使用单一自定义 DSL 编写 litmus 测试,这些测试随后在 Kotlin/Native 和 Kotlin/JVM(Kotlin 中并发编程的两个主要平台)上运行。使用 LitmusKt,我们发现了 Kotlin 编译器中的新错误,这些错误已被我们修复且不再存在。此外,LitmusKt 已集成到 Kotlin 的 CI 流水线中。LitmusKt 可在 GitHub 上获取:https://github.com/JetBrains-Research/litmuskt。演示可在 YouTube 上观看:https://youtu.be/oWCZp_Huwss。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。