AtomTracker: A Comprehensive Approach to Atomic Region Inference and Violation Detection

A particularly insidious type of concurrency bug is atomicity violations. While there has been substantial work on automatic detection of atomicity violations, each existing technique has focused on a certain type of atomic region. To address this limitation, this paper presents Atom Tracker, a comp...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Muzahid, Abdullah, Otsuki, Norimasa, Torrellas, Josep
Format: Tagungsbericht
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page 297
container_issue
container_start_page 287
container_title
container_volume
creator Muzahid, Abdullah
Otsuki, Norimasa
Torrellas, Josep
description A particularly insidious type of concurrency bug is atomicity violations. While there has been substantial work on automatic detection of atomicity violations, each existing technique has focused on a certain type of atomic region. To address this limitation, this paper presents Atom Tracker, a comprehensive approach to atomic region inference and violation detection. Atom Tracker is the first scheme to (1) automatically infer generic atomic regions (not limited by issues such as the number of variables accessed, the number of instructions included, or the type of code construct the region is embedded in) and (2) automatically detect violations of them at runtime with negligible execution overhead. Atom Tracker provides novel algorithms to infer generic atomic regions and to detect atomicity violations of them. Moreover, we present a hardware implementation of the violation detection algorithm that leverages cache coherence state transitions in a multiprocessor. In our evaluation, we take eight atomicity violation bugs from real-world codes like Apache, MySql, and Mozilla, and show that Atom Tracker detects them all. In addition, Atom Tracker automatically infers all of the atomic regions in a set of micro benchmarks accurately. Finally, we also show that the hardware implementation induces a negligible execution time overhead of 0.2–4.0% and, therefore, enables Atom Tracker to find atomicity violations on-the-fly in production runs.
doi_str_mv 10.1109/MICRO.2010.32
format Conference Proceeding
fullrecord <record><control><sourceid>acm_6IE</sourceid><recordid>TN_cdi_ieee_primary_5695544</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>5695544</ieee_id><sourcerecordid>acm_books_10_1109_MICRO_2010_32</sourcerecordid><originalsourceid>FETCH-LOGICAL-a1972-9789149a7f95c658dfc76d015e4e3029759d048541c519005805772d5f5b70ef3</originalsourceid><addsrcrecordid>eNqNj01Lw0AQhhdUsKY9evLuydSZzU4mcyzBj0KlUOp52Ww2EGuIbLz47922_gDnMgzvy8M8St0iLBFBHt_W9W671JDuQl-oG-BSyGgRuVQzBNa5MYTXajFNH5CGtdZczlS2-h6HfXT-EOJcXXXucwqLv52p9-enff2ab7Yv63q1yR1KAglXgkYcd0K-pKrtPJctIAUTCtDCJC2Yigx6QgGgCohZt9RRwxC6IlN3Z24fQrBfsR9c_LGUHiZjUvpwTp0fbDOOh8ki2KOkPUnao6QttG1if4Ld_6te_AK6dkxR</addsrcrecordid><sourcetype>Publisher</sourcetype><iscdi>true</iscdi><recordtype>conference_proceeding</recordtype></control><display><type>conference_proceeding</type><title>AtomTracker: A Comprehensive Approach to Atomic Region Inference and Violation Detection</title><source>IEEE Electronic Library (IEL) Conference Proceedings</source><creator>Muzahid, Abdullah ; Otsuki, Norimasa ; Torrellas, Josep</creator><creatorcontrib>Muzahid, Abdullah ; Otsuki, Norimasa ; Torrellas, Josep</creatorcontrib><description>A particularly insidious type of concurrency bug is atomicity violations. While there has been substantial work on automatic detection of atomicity violations, each existing technique has focused on a certain type of atomic region. To address this limitation, this paper presents Atom Tracker, a comprehensive approach to atomic region inference and violation detection. Atom Tracker is the first scheme to (1) automatically infer generic atomic regions (not limited by issues such as the number of variables accessed, the number of instructions included, or the type of code construct the region is embedded in) and (2) automatically detect violations of them at runtime with negligible execution overhead. Atom Tracker provides novel algorithms to infer generic atomic regions and to detect atomicity violations of them. Moreover, we present a hardware implementation of the violation detection algorithm that leverages cache coherence state transitions in a multiprocessor. In our evaluation, we take eight atomicity violation bugs from real-world codes like Apache, MySql, and Mozilla, and show that Atom Tracker detects them all. In addition, Atom Tracker automatically infers all of the atomic regions in a set of micro benchmarks accurately. Finally, we also show that the hardware implementation induces a negligible execution time overhead of 0.2–4.0% and, therefore, enables Atom Tracker to find atomicity violations on-the-fly in production runs.</description><identifier>ISSN: 1072-4451</identifier><identifier>ISBN: 0769542999</identifier><identifier>ISBN: 9780769542997</identifier><identifier>ISBN: 1424490715</identifier><identifier>ISBN: 9781424490714</identifier><identifier>DOI: 10.1109/MICRO.2010.32</identifier><language>eng</language><publisher>Washington, DC, USA: IEEE Computer Society</publisher><subject>Atomic layer deposition ; Atomic Region ; Atomicity Violation ; Computer bugs ; Concurrency Bug ; Hardware ; Hardware -- Emerging technologies ; Hardware -- Integrated circuits -- Semiconductor memory ; Instruction sets ; Runtime ; Signature ; Synchronization ; Training</subject><ispartof>2010 43rd Annual IEEE/ACM International Symposium on Microarchitecture, 2010, p.287-297</ispartof><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/5695544$$EHTML$$P50$$Gieee$$H</linktohtml><link.rule.ids>309,310,780,784,789,790,2058,27925,54920</link.rule.ids><linktorsrc>$$Uhttps://ieeexplore.ieee.org/document/5695544$$EView_record_in_IEEE$$FView_record_in_$$GIEEE</linktorsrc></links><search><creatorcontrib>Muzahid, Abdullah</creatorcontrib><creatorcontrib>Otsuki, Norimasa</creatorcontrib><creatorcontrib>Torrellas, Josep</creatorcontrib><title>AtomTracker: A Comprehensive Approach to Atomic Region Inference and Violation Detection</title><title>2010 43rd Annual IEEE/ACM International Symposium on Microarchitecture</title><addtitle>micro</addtitle><description>A particularly insidious type of concurrency bug is atomicity violations. While there has been substantial work on automatic detection of atomicity violations, each existing technique has focused on a certain type of atomic region. To address this limitation, this paper presents Atom Tracker, a comprehensive approach to atomic region inference and violation detection. Atom Tracker is the first scheme to (1) automatically infer generic atomic regions (not limited by issues such as the number of variables accessed, the number of instructions included, or the type of code construct the region is embedded in) and (2) automatically detect violations of them at runtime with negligible execution overhead. Atom Tracker provides novel algorithms to infer generic atomic regions and to detect atomicity violations of them. Moreover, we present a hardware implementation of the violation detection algorithm that leverages cache coherence state transitions in a multiprocessor. In our evaluation, we take eight atomicity violation bugs from real-world codes like Apache, MySql, and Mozilla, and show that Atom Tracker detects them all. In addition, Atom Tracker automatically infers all of the atomic regions in a set of micro benchmarks accurately. Finally, we also show that the hardware implementation induces a negligible execution time overhead of 0.2–4.0% and, therefore, enables Atom Tracker to find atomicity violations on-the-fly in production runs.</description><subject>Atomic layer deposition</subject><subject>Atomic Region</subject><subject>Atomicity Violation</subject><subject>Computer bugs</subject><subject>Concurrency Bug</subject><subject>Hardware</subject><subject>Hardware -- Emerging technologies</subject><subject>Hardware -- Integrated circuits -- Semiconductor memory</subject><subject>Instruction sets</subject><subject>Runtime</subject><subject>Signature</subject><subject>Synchronization</subject><subject>Training</subject><issn>1072-4451</issn><isbn>0769542999</isbn><isbn>9780769542997</isbn><isbn>1424490715</isbn><isbn>9781424490714</isbn><fulltext>true</fulltext><rsrctype>conference_proceeding</rsrctype><creationdate>2010</creationdate><recordtype>conference_proceeding</recordtype><sourceid>6IE</sourceid><sourceid>RIE</sourceid><recordid>eNqNj01Lw0AQhhdUsKY9evLuydSZzU4mcyzBj0KlUOp52Ww2EGuIbLz47922_gDnMgzvy8M8St0iLBFBHt_W9W671JDuQl-oG-BSyGgRuVQzBNa5MYTXajFNH5CGtdZczlS2-h6HfXT-EOJcXXXucwqLv52p9-enff2ab7Yv63q1yR1KAglXgkYcd0K-pKrtPJctIAUTCtDCJC2Yigx6QgGgCohZt9RRwxC6IlN3Z24fQrBfsR9c_LGUHiZjUvpwTp0fbDOOh8ki2KOkPUnao6QttG1if4Ld_6te_AK6dkxR</recordid><startdate>20101204</startdate><enddate>20101204</enddate><creator>Muzahid, Abdullah</creator><creator>Otsuki, Norimasa</creator><creator>Torrellas, Josep</creator><general>IEEE Computer Society</general><general>IEEE</general><scope>6IE</scope><scope>6IL</scope><scope>CBEJK</scope><scope>RIE</scope><scope>RIL</scope></search><sort><creationdate>20101204</creationdate><title>AtomTracker</title><author>Muzahid, Abdullah ; Otsuki, Norimasa ; Torrellas, Josep</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a1972-9789149a7f95c658dfc76d015e4e3029759d048541c519005805772d5f5b70ef3</frbrgroupid><rsrctype>conference_proceedings</rsrctype><prefilter>conference_proceedings</prefilter><language>eng</language><creationdate>2010</creationdate><topic>Atomic layer deposition</topic><topic>Atomic Region</topic><topic>Atomicity Violation</topic><topic>Computer bugs</topic><topic>Concurrency Bug</topic><topic>Hardware</topic><topic>Hardware -- Emerging technologies</topic><topic>Hardware -- Integrated circuits -- Semiconductor memory</topic><topic>Instruction sets</topic><topic>Runtime</topic><topic>Signature</topic><topic>Synchronization</topic><topic>Training</topic><toplevel>online_resources</toplevel><creatorcontrib>Muzahid, Abdullah</creatorcontrib><creatorcontrib>Otsuki, Norimasa</creatorcontrib><creatorcontrib>Torrellas, Josep</creatorcontrib><collection>IEEE Electronic Library (IEL) Conference Proceedings</collection><collection>IEEE Proceedings Order Plan All Online (POP All Online) 1998-present by volume</collection><collection>IEEE Xplore All Conference Proceedings</collection><collection>IEEE Electronic Library (IEL)</collection><collection>IEEE Proceedings Order Plans (POP All) 1998-Present</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Muzahid, Abdullah</au><au>Otsuki, Norimasa</au><au>Torrellas, Josep</au><format>book</format><genre>proceeding</genre><ristype>CONF</ristype><atitle>AtomTracker: A Comprehensive Approach to Atomic Region Inference and Violation Detection</atitle><btitle>2010 43rd Annual IEEE/ACM International Symposium on Microarchitecture</btitle><stitle>micro</stitle><date>2010-12-04</date><risdate>2010</risdate><spage>287</spage><epage>297</epage><pages>287-297</pages><issn>1072-4451</issn><isbn>0769542999</isbn><isbn>9780769542997</isbn><isbn>1424490715</isbn><isbn>9781424490714</isbn><abstract>A particularly insidious type of concurrency bug is atomicity violations. While there has been substantial work on automatic detection of atomicity violations, each existing technique has focused on a certain type of atomic region. To address this limitation, this paper presents Atom Tracker, a comprehensive approach to atomic region inference and violation detection. Atom Tracker is the first scheme to (1) automatically infer generic atomic regions (not limited by issues such as the number of variables accessed, the number of instructions included, or the type of code construct the region is embedded in) and (2) automatically detect violations of them at runtime with negligible execution overhead. Atom Tracker provides novel algorithms to infer generic atomic regions and to detect atomicity violations of them. Moreover, we present a hardware implementation of the violation detection algorithm that leverages cache coherence state transitions in a multiprocessor. In our evaluation, we take eight atomicity violation bugs from real-world codes like Apache, MySql, and Mozilla, and show that Atom Tracker detects them all. In addition, Atom Tracker automatically infers all of the atomic regions in a set of micro benchmarks accurately. Finally, we also show that the hardware implementation induces a negligible execution time overhead of 0.2–4.0% and, therefore, enables Atom Tracker to find atomicity violations on-the-fly in production runs.</abstract><cop>Washington, DC, USA</cop><pub>IEEE Computer Society</pub><doi>10.1109/MICRO.2010.32</doi><tpages>11</tpages><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier ISSN: 1072-4451
ispartof 2010 43rd Annual IEEE/ACM International Symposium on Microarchitecture, 2010, p.287-297
issn 1072-4451
language eng
recordid cdi_ieee_primary_5695544
source IEEE Electronic Library (IEL) Conference Proceedings
subjects Atomic layer deposition
Atomic Region
Atomicity Violation
Computer bugs
Concurrency Bug
Hardware
Hardware -- Emerging technologies
Hardware -- Integrated circuits -- Semiconductor memory
Instruction sets
Runtime
Signature
Synchronization
Training
title AtomTracker: A Comprehensive Approach to Atomic Region Inference and Violation Detection
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-07T12%3A15%3A16IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-acm_6IE&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=proceeding&rft.atitle=AtomTracker:%20A%20Comprehensive%20Approach%20to%20Atomic%20Region%20Inference%20and%20Violation%20Detection&rft.btitle=2010%2043rd%20Annual%20IEEE/ACM%20International%20Symposium%20on%20Microarchitecture&rft.au=Muzahid,%20Abdullah&rft.date=2010-12-04&rft.spage=287&rft.epage=297&rft.pages=287-297&rft.issn=1072-4451&rft.isbn=0769542999&rft.isbn_list=9780769542997&rft.isbn_list=1424490715&rft.isbn_list=9781424490714&rft_id=info:doi/10.1109/MICRO.2010.32&rft_dat=%3Cacm_6IE%3Eacm_books_10_1109_MICRO_2010_32%3C/acm_6IE%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rft_ieee_id=5695544&rfr_iscdi=true