System and Method for Optimizing a Code Section by Forcing a Code Section to be Executed Atomically
AssigneeOracle International Corporation
InventorsMark S. Moir, David Dice, Srikanta N. Tirthapura
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsMark S. Moir, David Dice, Srikanta N. Tirthapura
Estimating the term…
Systems and methods for optimizing code may use transactional memory to optimize one code section by forcing another code section to execute atomically. Application source code may be analyzed to identify instructions in one code section that only need to be executed if there exists the possibility that another code section (e.g., a critical section) could be partially executed or that its results could be affected by interference. In response to identifying such instructions, alternate code may be generated that forces the critical section to be executed as an atomic transaction, e.g., using best-effort hardware transactional memory. This alternate code may replace the original code or may be included in an alternate execution path that can be conditionally selected for execution at runtime. The alternate code may elide the identified instructions (which are rendered unnecessary by the transaction) by removing them, or by including them in the alternate execution path.
A method, comprising:
A non-transitory, computer-readable storage medium, storing program instructions that when executed on one or more computers cause the one or more computers to perform:
A method, comprising:
Dependencies are inferred from the claim text.