Software Transactional Memory in Java on Clojure: A Performance Analysis.

Saved in:
Bibliographic Details
Title: Software Transactional Memory in Java on Clojure: A Performance Analysis.
Authors: Tomeu, Antonio, Salguero, Alberto, Capel, Manuel
Source: IEEE Latin America Transactions; Jul2018, Vol. 16 Issue 7, p2079-2084, 6p
Abstract: In the field of concurrency and parallelism, it is known that the use of synchronization techniques based on locks to synchronize threads, is dangerous. When locks are introduced to control access to a shared resource, the probability of making control errors that give rise to security and liveliness problems is very high, and the software correction analysis developed under this paradigm is very complex. An alternative already consolidated in the scope of research, although not fully assumed in the area of software production, is the Software Transactional Memory (MTS), which protects access to shared data within transactions. Using MTS, when two threads attempt to access the same data, the transaction handler resolves the conflict, without the need to use explicit locks in our code. This results in a more readable and secure software, and with a potentially greater concurrency, since there is no waiting for threads. In this work we analyze an implementation of MTS for Java, supported by the Clojure functional language, and compare its performance with the standard blocking model, that Java supports under critical regions in the standard concurrency API, and by locks of multiple classes in the high-level concurrency API. The results show that the MTS model for Java over Clojure analyzed, is far from offers performances better than the alternative standard block model. [ABSTRACT FROM AUTHOR]
Copyright of IEEE Latin America Transactions is the property of IEEE and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Database: Complementary Index
Be the first to leave a comment!
You must be logged in first