首页    期刊浏览 2024年12月03日 星期二
登录注册

文章基本信息

  • 标题:Type Inference for Deadlock Detection in a Multithreaded Polymorphic Typed Assembly Language
  • 本地全文:下载
  • 作者:Vasco T. Vasconcelos ; Francisco Martins ; Tiago Cogumbreiro
  • 期刊名称:Electronic Proceedings in Theoretical Computer Science
  • 电子版ISSN:2075-2180
  • 出版年度:2009
  • 卷号:17
  • 页码:95-109
  • DOI:10.4204/EPTCS.17.8
  • 出版社:Open Publishing Association
  • 摘要:We previously developed a polymorphic type system and a type checker for a multithreaded lock-based polymorphic typed assembly language (MIL) that ensures that well-typed programs do not encounter race conditions. This paper extends such work by taking into consideration deadlocks. The extended type system verifies that locks are acquired in the proper order. Towards this end we require a language with annotations that specify the locking order. Rather than asking the programmer (or the compiler's backend) to specifically annotate each newly introduced lock, we present an algorithm to infer the annotations. The result is a type checker whose input language is non-decorated as before, but that further checks that programs are exempt from deadlocks.
国家哲学社会科学文献中心版权所有