首页> 外文OA文献 >Compile-Time Analysis and Specialization of Clocks in Concurrent Programs
【2h】

Compile-Time Analysis and Specialization of Clocks in Concurrent Programs

机译:并发程序中的时钟的编译时分析和特化

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Clocks are a mechanism for providing synchronization barriers in concurrent programming languages. They are usually implemented using primitive communication mechanisms and thus spare the programmer from reasoning about low-level implementation details such as remote procedure calls and error conditions. Clocks provide flexibility, but programs often use them in specific ways that do not require their full implementation. In this paper, we describe a tool that mitigates the overhead of general-purpose clocks by statically analyzing how programs use them and choosing optimized implementations when available. We tackle the clock implementation in the standard library of the X10 programming language—a parallel, distributed object-oriented language. We report our findings for a small set of analyses and benchmarks. Our tool only adds a few seconds to analysis time, making it practical to use as part of a compilation chain.
机译:时钟是一种在并发编程语言中提供同步屏障的机制。它们通常是使用原始通信机制实现的,因此可以使程序员免于推理底层实现细节,例如远程过程调用和错误条件。时钟提供了灵活性,但是程序通常以不需要完全实现的特定方式使用它们。在本文中,我们描述了一种工具,该工具通过静态分析程序如何使用它们并在可用时选择优化的实现来减轻通用时钟的开销。我们在X10编程语言(一种并行的分布式面向对象语言)的标准库中解决时钟实现问题。我们报告我们的发现,以进行少量分析和基准测试。我们的工具仅增加了几秒钟的分析时间,因此可以用作编译链的一部分。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号