同步协作线程的资源控制
Resource Control for Synchronous Cooperative Threads
摘要:
我们开发了新的方法来静态绑定执行系统的并发,交互式线程所需的资源。我们的研究涉及的是一个\emph{synchronous}模型的相互作用的基础上合作线程的执行进行同步轮称为瞬间。我们的贡献是一个系统的成分静态分析,以保证每个瞬间终止,并绑定的大小的值计算的系统作为一个功能的参数的大小在开始的时刻。我们的方法概括了一阶函数语言,依赖于一个标准的终止技术相结合的长期重写系统和分析的基础上的概念准解释的计算值的大小设计的方法。我们表明,这两种方法可以结合起来,以获得一个明确的多项式约束的系统执行过程中所需的资源。作为第二个贡献,我们引入了一个虚拟机和相关的字节码,从而产生一个精确的描述所需的资源执行的系统。在这种情况下,我们提出了一个合适的控制流分析,允许formulte的静态分析的字节码级的资源控制。
英文摘要:
We develop new methods to statically bound the resources needed for the execution of systems of concurrent, interactive threads. Our study is concerned with a \emph{synchronous} model of interaction based on cooperative threads whose execution proceeds in synchronous rounds called instants. Our contribution is a system of compositional static analyses to guarantee that each instant terminates and to bound the size of the values computed by the system as a function of the size of its parameters at the beginning of the instant. Our method generalises an approach designed for first-order functional languages that relies on a combination of standard termination techniques for term rewriting systems and an analysis of the size of the computed values based on the notion of quasi-interpretation. We show that these two methods can be combined to obtain an explicit polynomial bound on the resources needed for the execution of the system during an instant. As a second contribution, we introduce a virtual machine and a related bytecode thus producing a precise description of the resources needed for the execution of a system. In this context, we present a suitable control flow analysis that allows to formulte the static analyses for resource control at byte code level.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。