Invention Grant
US08732682B2 Systems and methods for detecting and tolerating atomicity violations between concurrent code blocks
有权
用于检测和容忍并发代码块之间原子性违规的系统和方法
- Patent Title: Systems and methods for detecting and tolerating atomicity violations between concurrent code blocks
- Patent Title (中): 用于检测和容忍并发代码块之间原子性违规的系统和方法
-
Application No.: US13213830Application Date: 2011-08-19
-
Publication No.: US08732682B2Publication Date: 2014-05-20
- Inventor: Virendra J. Marathe , David Dice
- Applicant: Virendra J. Marathe , David Dice
- Applicant Address: US NV Reno
- Assignee: Amazon Technologies, Inc.
- Current Assignee: Amazon Technologies, Inc.
- Current Assignee Address: US NV Reno
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
The system and methods described herein may be used to detect and tolerate atomicity violations between concurrent code blocks and/or to generate code that is executable to detect and tolerate such violations. A compiler may transform program code in which the potential for atomicity violations exists into alternate code that tolerates these potential violations. For example, the compiler may inflate critical sections, transform non-critical sections into critical sections, or coalesce multiple critical sections into a single critical section. The techniques described herein may utilize an auxiliary lock state for locks on critical sections to enable detection of atomicity violations in program code by enabling the system to distinguish between program points at which lock acquisition and release operations appeared in the original program, and the points at which these operations actually occur when executing the transformed program code. Filtering and analysis techniques may reduce false positives induced by the transformations.
Public/Granted literature
- US20130047163A1 Systems and Methods for Detecting and Tolerating Atomicity Violations Between Concurrent Code Blocks Public/Granted day:2013-02-21
Information query