首页>
外国专利>
Lock-Clustering Compilation for Software Transactional Memory
Lock-Clustering Compilation for Software Transactional Memory
展开▼
机译:软件事务存储器的锁集群编译
展开▼
页面导航
摘要
著录项
相似文献
摘要
A lock-clustering compiler is configured to compile program code for a software transactional memory system. The compiler determines that a group of data structures are accessed together within one or more atomic memory transactions defined in the program code. In response to determining that the group is accessed together, the compiler creates an executable version of the program code that includes clustering code, which is executable to associate the data structures of the group with the same software transactional memory lock. The lock is usable by the software transactional memory system to coordinate concurrent transactional access to the group of data structures by multiple concurrent threads.
展开▼