{"product_id":"compiler-and-runtime-techniques-to-identify-and-optimize-atomic-blocks-in-parallel-programs-von-stefan-kempf","title":"Compiler and Runtime Techniques to Identify and Optimize Atomic Blocks in Parallel Programs","description":"\u003cp\u003eAtomic blocks are a programming language construct that marks sections of code that multiple threads may not execute concurrently. The implementation of the mutual exclusion is left to the compiler or the runtime system. To avoid race conditions however, developers are still responsible to detect all places in the code where atomic blocks are needed. It is of course also important that mutual exclusion is implemented efficiently.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThis thesis therefore pursues two goals. First, we develop a data dependence analysis that identifies potential critical sections in a parallel program, presents them to the programmer, and then adds atomic blocks to the code. Second, we enhance existing techniques ¿ software transactional memory (STM) and lock inference ¿ to implement atomic blocks. Our approach combines the advantages of STM and lock inference, which allows atomic blocks to be implemented more efficiently.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThe evaluation shows that our approach identifies atomic blocks that closely match those atomic blocks that an expert would add to the code. Compared to a pure STM or lock inference implementation, our combined approach to implement atomic blocks speeds up execution times by a factor between 1.1 and 6.3.\u003c\/p\u003e\u003cdiv class=\"aw-variant-hidden-subtitle-div\" id=\"aw-variant-subtitle-9783954048403\"\u003e\u003ch3\u003e\u003c\/h3\u003e\u003c\/div\u003e","brand":"Libri","offers":[{"title":"Softcover - 9783954048403","offer_id":39453164601437,"sku":"9783954048403","price":36.3,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0940\/0622\/files\/6f05d709-be67-4653-bf22-ebb183b7911f.jpg?v=1780464374","url":"https:\/\/shop.autorenwelt.de\/products\/compiler-and-runtime-techniques-to-identify-and-optimize-atomic-blocks-in-parallel-programs-von-stefan-kempf","provider":"Autorenwelt Shop","version":"1.0","type":"link"}