Go语言的自动化动态并发分析
Automated Dynamic Concurrency Analysis for Go
摘要:
Go语言的并发特性在许多并发系统的开发中被证明是通用的。然而,解决Go并发调试挑战的正确性方法并没有得到太多的关注。在这项工作中,我们提出了一个自动的动态跟踪机制,有效地捕捉和帮助分析整个程序的并发模型。使用Go的内置跟踪程序包的增强功能和从应用程序执行中收集动态跟踪的框架,我们可以为并发调试进行彻底的事后分析。我们提出的动态跟踪并发调试的有效性和可扩展性(超过2K goroutines)的初步结果。我们讨论了未来的方向,利用动态跟踪加速并发错误暴露。
英文摘要:
The concurrency features of the Go language have proven versatile in the development of a number of concurrency systems. However, correctness methods to address challenges in Go concurrency debugging have not received much attention. In this work, we present an automatic dynamic tracing mechanism that efficiently captures and helps analyze the whole-program concurrency model. Using an enhancement to the built-in tracer package of Go and a framework that collects dynamic traces from application execution, we enable thorough post-mortem analysis for concurrency debugging. Preliminary results about the effectiveness and scalability (up to more than 2K goroutines) of our proposed dynamic tracing for concurrent debugging are presented. We discuss the future direction for exploiting dynamic tracing towards accelerating concurrent bug exposure.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。