As modern software systems are increasingly developed for running in distributed environments, it is crucial to provide fundamental techniques such as dependence analysis for checking, diagnosing, and evolving those systems. However, traditional dependence analysis is either inapplicable or of very limited utility for distributed programs due to the decoupled components of these programs that run in concurrent processes at physically separated machines. Motivated by the need for dependence analysis of distributed software and the diverse cost-effectiveness needs of dependence-based applications, this paper presents D$^2$ABS, a framework of dynamic dependence abstraction for distributed programs. By partial-ordering distributed method-execution events and inferring causality from the ordered events, D$^2$ABS abstracts method-level dependencies both within and across process boundaries. Further, by exploiting message-passing semantics across processes, and incorporating static dependencies and statement coverage within individual components, we present three additional instantiations of D$^2$ABS that trade efficiency for better precision. We present the design of the D$^2$ABS framework and evaluate the four instantiations of D$^2$ABS on distributed systems of various architectures and scales using our implementation for Java. Our empirical results show that D$^2$ABS is significantly more effective than existing options while offering varied levels of cost-effectiveness tradeoffs. As our framework essentially computes whole-system run-time dependencies, it naturally empowers a range of other dependence-based applications.
翻译:由于在分布式环境中运行的现代软件系统日益得到开发,因此必须提供基本技术,例如用于检查、诊断和演变这些系统的依赖性分析;然而,传统的依赖性分析要么不适用,要么由于在物理分离的机器同时运行的程序中,这些程序各组成部分相互脱钩,因此对分布式软件的依赖性分析的必要性和依赖性应用的各种成本效益需求日益增强,因此,必须提供基本技术,例如用于检查、诊断和演变这些系统的依赖性分析;然而,传统的依赖性分析由于在程序范围内和跨边界运行的这些程序中,对分布式程序不相容的组成部分不适用,或效用非常有限;由于需要对分布式软件进行依赖性分析的必要性和基于依赖性应用的各种成本效益需要,本文件提出了三个提高分布式方案贸易效率的自然依赖性抽象框架,即部分订购分配式方法执行性依赖性框架的设计,并推断定序事件的因果关系;2DBS摘要-A摘要-方法-方法-方法-方法-方法-在程序范围内的四大范围上展示了我们整个贸易效率-系统的设计,同时展示了我们现有标准-系统执行结果-系统执行的进度框架的进度-比标准-范围要大大展示了我们现有ABS-BS-BS-BS-BS-BS-BS-BS-BS-BS-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-A-