arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1805.10710cs.SE
收藏

安全关键Java:实践中的第2级

Safety-Critical Java: Level 2 in Practice

Matt Luckcuck, Andy Wellings, Ana Cavalcanti

摘要:

安全关键Java(SCJ)是Java实时规范的一个概要,它为安全关键行业带来了使用Java的可能性。SCJ定义了三个合规级别:0级、1级和2级。SCJ规范在定义的API的使用方面清楚地说明了什么构成了2级应用程序,但没有说明应该使用它的场合。本文将仅在级别2可用的功能大致分为三组:嵌套任务定序器、托管线程和跨多处理器的全局调度。我们探索前两组,以引出他们支持的编程需求。我们确定了几个领域的SCJ规范需要修改,以充分支持这些要求,其中包括:~支持终止托管线程,能够设置任务之间的过渡的最后期限,并增强任务定序器的概念,以支持组合的时间约束。我们还提出了简化任务的终止协议及其任务排序。为了说明我们的变化的好处,我们提出了从SCJ Level~2的正式模型中摘录的Circus,一个状态丰富的进程代数细化。

英文摘要:

Safety Critical Java (SCJ) is a profile of the Real-Time Specification for Java that brings to the safety-critical industry the possibility of using Java. SCJ defines three compliance levels: Level 0, Level 1 and Level 2. The SCJ specification is clear on what constitutes a Level 2 application in terms of its use of the defined API, but not the occasions on which it should be used. This paper broadly classifies the features that are only available at Level 2 into three groups:~nested mission sequencers, managed threads, and global scheduling across multiple processors. We explore the first two groups to elicit programming requirements that they support. We identify several areas where the SCJ specification needs modifications to support these requirements fully; these include:~support for terminating managed threads, the ability to set a deadline on the transition between missions, and augmentation of the mission sequencer concept to support composibility of timing constraints. We also propose simplifications to the termination protocol of missions and their mission sequencers. To illustrate the benefit of our changes, we present excerpts from a formal model of SCJ Level~2 written in Circus, a state-rich process algebra for refinement.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑