Lune

POPL2022顶会

Context-bounded verification of thread pools

Pascal Baumann, Rupak Majumdar, Ramanathan S. Thinniyam, Georg Zetzsche

摘要

Thread pooling is a common programming idiom in which a fixed set of worker threads are maintained to execute tasks concurrently. The workers repeatedly pick tasks and execute them to completion. Each task is sequential, with possibly recursive code, and tasks communicate over shared memory. Executing a task can lead to more new tasks being spawned. We consider the safety verification problem for thread-pooled programs. We parameterize the problem with two parameters: the size of the thread pool as well as the number of context switches for each task. The size of the thread pool determines the number of workers running concurrently. The number of context switches determines how many times a worker can be swapped out while executing a single task-like many verification problems for multithreaded recursive programs, the context bounding is important for decidability.

We show that the safety verification problem for thread-pooled, context-bounded, Boolean programs is EXPSPACE-complete, even if the size of the thread pool and the context bound are given in binary. Our main result, the EXPSPACE upper bound, is derived using a sequence of new succinct encoding techniques of independent language-theoretic interest. In particular, we show a polynomial-time construction of downward closures of languages accepted by succinct pushdown automata as doubly succinct nondeterministic finite automata. While there are explicit doubly exponential lower bounds on the size of nondeterministic finite automata accepting the downward closure, our result shows these automata can be compressed. We show that thread pooling significantly reduces computational power: in contrast, if only the context bound is provided in binary, but there is no thread pooling, the safety verification problem becomes 3EXPSPACE-complete. Given the high complexity lower bounds of related problems involving binary parameters, the relatively low complexity of safety verification with thread-pooling comes as a surprise.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • The Complexity of Downward Closures of Indexed Languages 引用了 Bounded Treewidth, Multiple Context-Free Grammars, and Downward Closures
  • The Complexity of Downward Closures of Indexed Languages 引用了 Context-bounded verification of liveness properties for multithreaded shared-memory programs
  • Reachability in Vector Addition Systems is Ackermann-complete 引用了 The Reachability Problem for Petri Nets is Not Primitive Recursive
  • The Reachability Problem for Petri Nets is Not Primitive Recursive 引用了 Reachability in Vector Addition Systems is Ackermann-complete
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Bounded Treewidth, Multiple Context-Free Grammars, and Downward ClosuresC. Aiswarya, Pascal Baumann, Prakash Saivasan, Lia Schütze 等POPL 2026 · 1 次引用
  2. The Complexity of Downward Closures of Indexed LanguagesRichard Mandel, Corto Mascle, Georg ZetzscheLICS 2026

它引用的 Paper3

  1. Reachability in Vector Addition Systems is Ackermann-completeWojciech Czerwinski, Lukasz OrlikowskiFOCS 2021 · 69 次引用
  2. The Reachability Problem for Petri Nets is Not Primitive RecursiveJérôme LerouxFOCS 2021 · 62 次引用
  3. Context-bounded verification of liveness properties for multithreaded shared-memory programsPascal Baumann, Rupak Majumdar, Ramanathan S. Thinniyam, Georg ZetzschePOPL 2021 · 7 次引用

相关 Paper

  1. Context-Bounded Verification of Context-Free SpecificationsPascal Baumann, Moses Ganardi, Rupak Majumdar, Ramanathan S. Thinniyam 等POPL 2023 · 3 次引用
  2. Interference relation-guided SMT solving for multi-threaded program verificationHongyu Fan, Weiting Liu, Fei HePPoPP 2022 · 9 次引用
  3. Products of Recursive Programs for Hypersafety VerificationRuotong Cheng, Azadeh FarzanOOPSLA 2025
  4. Decidable verification under a causally consistent shared memoryOri Lahav, Udi BokerPLDI 2020 · 30 次引用
  5. On the Complexity of Checking Soundness of Natural ReductionsConstantin Enea, Azadeh Farzan, Dominik KlumppCAV 2026
黄昏的海面,两侧是细线勾勒的悬崖