首页> 外文期刊>Science of Computer Programming >Executing Java programs with transactional memory
【24h】

Executing Java programs with transactional memory

机译:使用事务性内存执行Java程序

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

摘要

Parallel programming is difficult due to the complexity of dealing with conventional lock-based synchronization. To simplify parallel programming, there have been a number of proposals to support transactions directly in hardware and eliminate locks completely. Although hardware support for transactions has the potential to completely change the way parallel programs are written, initially transactions will be used to execute existing parallel programs. In this paper we investigate the implications of using transactions to execute existing parallel Java programs. Our results show that transactions can be used to support all aspects of Java multithreaded programs, and once Java virtual machine issues have been addressed, the conversion of a lock-based application into transactions is largely straightforward. The performance that these converted applications achieve is equal to or sometimes better than the original lock-based implementation.
机译:由于处理传统的基于锁的同步非常复杂,因此并行编程非常困难。为了简化并行编程,已经有许多建议直接在硬件中支持事务并完全消除锁。尽管对事务的硬件支持有可能完全改变并行程序的编写方式,但最初,事务将用于执行现有的并行程序。在本文中,我们研究了使用事务执行现有并行Java程序的含义。我们的结果表明,事务可用于支持Java多线程程序的所有方面,并且一旦解决了Java虚拟机问题,就可以将基于锁的应用程序转换为事务非常简单。这些转换后的应用程序实现的性能与原始的基于锁的实现相同或有时甚至更好。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号