Leveraging memory isolation hardware technology to efficiently detect race conditions
One embodiment includes method acts for detecting race conditions. The method includes beginning a critical section, during which conflicting reads and writes should be detected to determine if a race condition has occurred. This is performed by executing at a thread one or more software instruction...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | English |
Published |
05.03.2013
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | One embodiment includes method acts for detecting race conditions. The method includes beginning a critical section, during which conflicting reads and writes should be detected to determine if a race condition has occurred. This is performed by executing at a thread one or more software instructions to place a software lock on data. As a result of executing one or more software instructions to place a software lock on data, several additional acts are performed. In particular, the thread places a software lock on the data locking the data for at least one of exclusive writes or reads by the thread. And, at a local cache memory local to the thread, the thread enters the thread's memory isolation mode enabling local hardware buffering of memory writes and monitoring of conflicting writes or reads to or from the cache memory to detect reads or writes by non-lock respecting agents. |
---|---|
Bibliography: | Application Number: US20090638031 |