首页> 外文会议>Algebraic methodology and software technology >From Sequential to Multi-Threaded Java: An Event-Based Operational Semantics
【24h】

From Sequential to Multi-Threaded Java: An Event-Based Operational Semantics

机译:从顺序Java到多线程Java:基于事件的操作语义

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

摘要

A structural operational semantics of a non trivial sublanguage of Java is presented. This language includes dynamic creation of objects, blocks, and synchronization of threads. First we introduce a simple operational description of the sequential part of the language, where the memory is treated as an algebra with suitably axiomatized operations. Then, the interaction between threads via a shared memory is described in terms of structures, called "event spaces," whose well-formedness conditions formalize directly the rules given in the Java language specification. Event spaces are included in the operational judgements to develop the semantics of the full multi-threaded sublanguage, which is shown to extend the one for sequential Java conservatively. The result allows sequential programs to be reasoned about in a simplified computational framework without loss of generality.
机译:提出了Java的非平凡子语言的结构化操作语义。该语言包括对象,块的动态创建以及线程的同步。首先,我们对语言的顺序部分进行简单的操作描述,其中将内存视为具有适当公理化操作的代数。然后,通过称为“事件空间”的结构来描述线程之间通过共享内存进行的交互,这些结构的格式良好条件直接将Java语言规范中给出的规则形式化。事件空间包含在操作判断中,以发展完整的多线程子语言的语义,该事件空间被保守地扩展为顺序Java。结果允许在简化的计算框架中推理顺序程序而不会失去一般性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号