...
【24h】

Improving the Java Memory Model Using CRF

机译:使用CRF改进Java内存模型

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

获取外文期刊封面封底 >>

       

摘要

This paper describes alternative memory semantics for Java programs using an enriched version of the Commit/Reconcile/Fence (CRF) memory model [16]. It outlines a set of reasonable practices for safe multithreaded programming in Java. Our semantics allow a number of optimizations such as load reordering that are currently prohibited. Simple thread-local algebraic rules express the effects of optimizations at the source or bytecode level. The rules focus on reordering source-level operations; they yield a simple dependency analysis algorithm for Java. An instruction-by-instruction translation of Java memory operations into CRF operations captures thread interactions precisely. The fine-grained synchronization of CRF means the algebraic rules are easily derived from the translation. CRF can be mapped directly to a modern architecture, and is thus a suitable target for optimizing memory coherence during code generation.
机译:本文描述了使用Commit / Reconcile / Fence(CRF)内存模型的丰富版本的Java程序的替代内存语义[16]。它概述了Java安全多线程编程的一组合理做法。我们的语义允许许多优化,例如当前禁止的负载重新排序。简单的线程局部代数规则在源代码或字节码级别上表示优化的效果。这些规则着重于对源代码级操作进行重新排序;他们产生了一个简单的Java依赖分析算法。 Java内存操作到CRF操作的逐条指令转换可精确捕获线程交互。 CRF的细粒度同步意味着可以轻松地从翻译中得出代数规则。 CRF可以直接映射到现代体系结构,因此是在代码生成过程中优化内存一致性的合适目标。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号