首页>
外国专利>
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.
展开▼