【24h】

Improving the Java Memory Model Using CRF

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

获取原文

摘要

This paper describes alternative memory semantics for Java pro-grams using an enriched version of the Commit/Reconcile/Fence (CRF) memory model (16). It outlines a set of reasonable practices for safet 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 mdoern architecture, and is thus a suitable target for optimizing memory coherence during code generation.
机译:本文介绍了使用丰富的提交/协调/围栏(CRF)内存模型(16)的丰富版本的Java Pro-Gram的替代存储语义。它概述了Java中的Safet多线程编程的一组合理实践。我们的语义允许许多优化,例如当前禁止的负载重新排序。简单的线程 - 本地代数规则表达了优化在源或字节码级别的影响。规则重点是重新排序的源级操作;它们产生了一个简单的Java依赖性分析算法。将Java Memory操作的指令逐个指令转换为CRF操作,精确地捕获线程交互。 CRF的细粒度同步意味着代数规则易于源自翻译。 CRF可以直接映射到MDOERN架构,因此是用于在代码生成期间优化内存相干性的合适目标。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号