...
首页> 外文期刊>Journal of Software Maintenance and Evolution >Component composition errors and update atomicity: static analysis
【24h】

Component composition errors and update atomicity: static analysis

机译:组件组成错误和更新原子性:静态分析

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Dynamic evolution inherently involves dynamic update and the issue of its atomicity. We show how this issue can be addressed in a similar manner to a communication failure via an extension to behavior protocols. First, we discuss the problem of defining a composition operator for behavior protocols so as to be able to reflect communication failures. Classical architecture description languages (ADLs) supporting behavior description, such as Wright and TRACTA, use a CSP-like parallel composition, which inherently yields only 'successful traces' ignoring non-accepted communication attempts. We show that component composition can produce several different types of behavior errors: bad activity, no activity, and divergence. The key idea behind bad activity is that real programs typically have an asymmetry of roles during event exchange: the caller is considered to be the initiator of the call while the callee has only a passive role. This contrasts with most formal systems, which treat communication symmetrically. We propose a new composition operator, 'consent', which reflects these types of errors by producing erroneous traces. By using the consent operator it can be statically determined whether the atomicity of a dynamic update of a component is implicitly guaranteed by the behavior of its current environment.
机译:动态演化本质上涉及动态更新及其原子性问题。我们展示了如何通过行为协议扩展以类似于通信失败的方式解决此问题。首先,我们讨论为行为协议定义组合运算符的问题,以便能够反映通信失败。支持行为描述的经典体系结构描述语言(ADL),例如Wright和TRACTA,使用类似CSP的并行组合,本质上只产生“成功跟踪”,而忽略了不可接受的通信尝试。我们表明,组件组成会产生几种不同类型的行为错误:不良活动,无活动和发散。不良活动背后的关键思想是真实的程序通常在事件交换过程中具有不对称的角色:调用者被认为是调用的发起者,而被调用者仅具有被动角色。这与大多数形式化的系统形成对比,后者以对称方式对待交流。我们提出了一个新的合成运算符“同意”,它通过产生错误的轨迹来反映这些类型的错误。通过使用同意运算符,可以静态确定组件的动态更新的原子性是否由其当前环境的行为隐式地保证。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号