首页> 外文OA文献 >Safe and Verifiable Design of Concurrent Java Programs
【2h】

Safe and Verifiable Design of Concurrent Java Programs

机译:并发Java程序的安全可验证设计

摘要

The design of concurrent programs has a reputation for being difficult, and thus potentially dangerous in safetycritical real-time and embedded systems. The recent appearance of Java, whilst cleaning up many insecure aspects of OO programming endemic in C++, suffers from a deceptively simple threads model that is an insecure variant of ideas that are over 25 years old [1]. Consequently, we cannot directly exploit a range of new CASE tools -- based upon modern developments in parallel computing theory -- that can verify and check the design of concurrent systems for a variety of dangersudsuch as deadlock and livelock that otherwise plague us during testing and maintenance and, more seriously, cause catastrophic failure in service. udOur approach uses recently developed Java classudlibraries based on Hoare's Communicating Sequential Processes (CSP); the use of CSP greatly simplifies the design of concurrent systems and, in many cases, a parallel approach often significantly simplifies systems originally approached sequentially. New CSP CASE tools permit designs to be verified against formal specificationsudand checked for deadlock and livelock. Below we introduce CSP and its implementation in Java and develop a small concurrent application. The formal CSP description of the application is provided, as well as that of an equivalent sequential version. FDR is used to verify the correctness of both implementations, theirudequivalence, and their freedom from deadlock and livelock.
机译:并发程序的设计以困难而著称,因此在对安全至关重要的实时和嵌入式系统中具有潜在的危险。 Java的最新出现,虽然清理了C ++中OO编程特有的许多不安全方面,却遭受了一个看似简单的线程模型的困扰,该模型是25多年以来思想的不安全变体[1]。因此,我们不能基于并行计算理论的现代发展直接开发一系列新的CASE工具,这些工具可以验证并检查并发系统的设计是否存在各种危险,例如死锁和活动锁,否则在我们使用期间会困扰我们测试和维护,更严重的是,会导致服务灾难性故障。 ud我们的方法使用了基于Hoare的通信顺序过程(CSP)的最新开发的Java类 udlibraries。 CSP的使用极大地简化了并发系统的设计,并且在许多情况下,并行方法通常会大大简化最初按顺序访问的系统。新的CSP CASE工具允许根据正式规格对设计进行验证, udand检查死锁和活锁。下面我们介绍CSP及其在Java中的实现,并开发一个小型并发应用程序。提供了该应用程序的正式CSP描述以及等效顺序版本的描述。 FDR用于验证两种实现的正确性,等价性以及它们免受死锁和活动锁的影响。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号