首页> 外文会议>WoTUG technical meeting >A Debugger for Communicating Scala Objects
【24h】

A Debugger for Communicating Scala Objects

机译:用于通信Scala对象的调试器

获取原文

摘要

This paper presents a software tool for visualising and reasoning about the behaviour of message-passing concurrent programs built with the CSO library for the Scala programming language. It describes the models needed to represent the construction of process networks and the runtime behaviour of the resulting program. We detail the manner in which information is extracted from the use of concurrency primitives in order to maintain these models and how these models are diagrammed. Our implementation of dynamic deadlock detection is explained. The tool can produce a sequence diagram of process communications, the communication network depicting the pairs of processes which share a communication channel, and the trees resulting from the composition of processes. Furthermore, it allows for behavioural specifications to be defined and then checked at runtime, and guarantees to detect the illegal usage of concurrency primitives that could otherwise lead to deadlock or data loss. Our implementation imposes only a small overhead on the program under inspection.
机译:本文提供了一个软件工具,用于可视化和推理使用Scala编程语言的CSO库构建的消息传递并发程序的行为。它描述了表示过程网络的构造和所得程序的运行时行为所需的模型。我们详细介绍了从并发原语的使用中提取信息的方式,以便维护这些模型以及如何绘制这些模型。解释了我们动态死锁检测的实现。该工具可以生成过程通信的序列图,通信网络描述共享通信通道的成对过程以及由过程组成产生的树。此外,它允许定义行为规范,然后在运行时进行检查,并保证检测并发原语的非法使用,否则可能导致死锁或数据丢失。我们的实施仅对检查中的程序施加了很小的开销。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号