首页> 外国专利> Facilitating stack read and write operations in a software transactional memory system

Facilitating stack read and write operations in a software transactional memory system

机译:促进软件事务存储系统中的堆栈读写操作

摘要

Various technologies and techniques facilitate stack read and write operations in a software transactional memory system. If the compiler determines that an address for a variable in a code segment is a stack location, the stack location is live on entry, and the address of the variable has not been taken and passed to another thread, the code is changed to ensure failure atomicity. One example includes modifying the code so a shadow copy is saved for local variables that are live on entry. If the same prior criteria are true except the stack location is not live on entry, the code is optimized by ensuring code for logging and software transactional memory operations are not included. If the compiler does not know the address is the stack location or that the address is not passed to another thread, the code is changed to ensure failure and concurrency atomicity.
机译:各种技术和技术促进了软件事务存储系统中的堆栈读写操作。如果编译器确定代码段中变量的地址是堆栈位置,堆栈位置在入口时处于活动状态,并且尚未使用该变量的地址并将其传递给另一个线程,则应更改代码以确保失败原子性。一个示例包括修改代码,以便为输入时保留的局部变量保存卷影副本。如果相同的先验条件为真,但堆栈位置不在入口上,则通过确保不包含用于日志记录的代码和软件事务性内存操作来优化代码。如果编译器不知道该地址是堆栈位置,或者该地址未传递给另一个线程,则将更改代码以确保失败和并发原子性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号