Lune

ASPLOS2025顶会

Dynamic Partial Deadlock Detection and Recovery via Garbage Collection

Georgian-Vlad Saioc, I-Ting Angelina Lee, Anders Møller, Milind Chabbi

摘要

A challenge of writing concurrent message-passing programs is ensuring the absence of partial deadlocks, which can cause severe memory leaks in long-running systems. The Go programming language is particularly susceptible to this problem due to its support of message passing and ease of lightweight concurrency creation.

We propose a novel dynamic technique to detect partial deadlocks by soundly approximating liveness using the garbage collector's marking phase. The approach allows systems to not only detect, but also automatically redress partial deadlocks and alleviate their impact on memory.

We implement the approach in the tool Golf, as an extension to the garbage collector of the Go runtime system and evaluate its effectiveness in a series of experiments. Preliminary results show that the approach is effective at detecting 94% and 50% of partial deadlocks in a series of microbenchmarks and the test suites of a large-scale industrial codebase, respectively. Furthermore, we deployed Golf on a real service used by Uber, and over a period of 24 hours, effectively detected 252 partial deadlocks caused by three programming errors.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Who goes first? detecting go concurrency bugs via message reordering 引用了 Automatically detecting and fixing concurrency bugs in go software systems
  • Automated Verification of Go Programs via Bounded Model Checking 引用了 Automatically detecting and fixing concurrency bugs in go software systems
  • Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation 引用了 Who goes first? detecting go concurrency bugs via message reordering
  • Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation 引用了 Automated Verification of Go Programs via Bounded Model Checking
  • Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation 引用了 Automatically detecting and fixing concurrency bugs in go software systems
  • DR.FIX: Automatically Fixing Data Races at Industry Scale 引用了 Automatically detecting and fixing concurrency bugs in go software systems
  • The Complexity of Testing Message-Passing Concurrency 引用了 Who goes first? detecting go concurrency bugs via message reordering
  • The Complexity of Testing Message-Passing Concurrency 引用了 Automated Verification of Go Programs via Bounded Model Checking
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. The Complexity of Testing Message-Passing ConcurrencyZheng Shi, Lasse Møldrup, Umang Mathur, Andreas PavlogiannisPOPL 2026 · 2 次引用
  2. DR.FIX: Automatically Fixing Data Races at Industry ScaleFarnaz Behrang, Zhizhou Zhang, Georgian-Vlad Saioc, Peng Liu 等PLDI 2025 · 1 次引用

它引用的 Paper4

  1. Automatically detecting and fixing concurrency bugs in go software systemsZiheng Liu, Shuofei Zhu, Boqin Qin, Hao Chen 等ASPLOS 2021 · 32 次引用
  2. Who goes first? detecting go concurrency bugs via message reorderingZiheng Liu, Shihao Xia, Yu Liang, Linhai Song 等ASPLOS 2022 · 21 次引用
  3. Automated Verification of Go Programs via Bounded Model CheckingNicolas Dilley, Julien LangeASE 2021 · 21 次引用
  4. Detecting Blocking Errors in Go Programs using Localized Abstract InterpretationOskar Haarklou Veileborg, Georgian-Vlad Saioc, Anders MøllerASE 2022 · 12 次引用

相关 Paper

  1. Automated Verification of Parametric Channel-Based Process CommunicationGeorgian-Vlad Saioc, Julien Lange, Anders MøllerOOPSLA 2024 · 2 次引用
  2. A study of real-world data races in GolangMilind Chabbi, Murali Krishna RamanathanPLDI 2022 · 34 次引用
  3. GoPV: Detecting Blocking Concurrency Bugs Related to Shared-Memory Synchronization in GoWei Song, Xiaofan Xu, Jeff HuangISSTA 2025
  4. Deadlock prediction via generalized dependencyJinpeng Zhou, Hanmei Yang, John Lange, Tongping LiuISSTA 2022 · 5 次引用
  5. Language-Agnostic Static Deadlock Detection for FuturesStefan K. MullerPPoPP 2024 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖