首页>
外国专利>
Method and apparatus for improving transactional memory interactions by tracking object visibility
Method and apparatus for improving transactional memory interactions by tracking object visibility
展开▼
机译:通过跟踪对象可见性来改善事务性存储器交互的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
In a multi-threaded computer system that uses transactional memory, object fields accessed by only one thread are accessed by regular non-transactional read and write operations. When an object may be visible to more than one thread, access by non-transactional code is prevented and all accesses to the fields of that object are performed using transactional code. In one embodiment, the current visibility of an object is stored in the object itself. This stored visibility can be checked at runtime by code that accesses the object fields or code can be generated to check the visibility prior to access during compilation.
展开▼