Facilitating stack read and write operations in a software transactional memory system
US7895582B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Aug 4, 2006 |
| Grant date | Feb 22, 2011 |
| Priority date | — |
| Expiry date | Dec 23, 2029 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/466
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.