Invention Grant
- Patent Title: Compiler support for optimizing decomposed software transactional memory operations
- Patent Title (中): 编译器支持优化分解的软件事务内存操作
-
Application No.: US11389451Application Date: 2006-03-23
-
Publication No.: US08799882B2Publication Date: 2014-08-05
- Inventor: David Read Tarditi, Jr. , Timothy Lawrence Harris , Mark Ronald Plesko , Avraham E. Shinnar
- Applicant: David Read Tarditi, Jr. , Timothy Lawrence Harris , Mark Ronald Plesko , Avraham E. Shinnar
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agent Kevin Sullivan; Kate Drakos; Mickey Minhas
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A software transactional memory system is described which utilizes decomposed software transactional memory instructions as well as runtime optimizations to achieve efficient performance. The decomposed instructions allow a compiler with knowledge of the instruction semantics to perform optimizations which would be unavailable on traditional software transactional memory systems. Additionally, high-level software transactional memory optimizations are performed such as code movement around procedure calls, addition of operations to provide strong atomicity, removal of unnecessary read-to-update upgrades, and removal of operations for newly-allocated objects. During execution, multi-use header words for objects are extended to provide for per-object housekeeping, as well as fast snapshots which illustrate changes to objects. Additionally, entries to software transactional memory logs are filtered using an associative table during execution, preventing needless writes to the logs. Finally a garbage collector with knowledge of the software transactional memory system compacts software transactional memory logs during garbage collection.
Public/Granted literature
- US20070169030A1 Compiler support for optimizing decomposed software transactional memory operations Public/Granted day:2007-07-19
Information query