{"title":"Transactional HashMaps in the Myrrh Framework","authors":"G. Eddon, Steven P. Reiss","doi":"10.1109/EASE.2006.23","DOIUrl":null,"url":null,"abstract":"To improve the performance of transactional programming, we propose a new class of transactional data structures and introduce a transactional version of Java's HashMap class. This specialized HashMap class enables developers to take full advantage of the atomic and isolated properties of transactions in order to support concurrent access to different parts of a map. Furthermore, the validation and conflict resolution algorithm executed as part of the commit step resolves most types of potential conflict, thus allowing all transactions that don't directly conflict to commit. By using transactions to eliminate contention, and a specialized implementation of the HashMap class to resolve conflicts at commit-time, we significantly improve the efficiency of transactional programming","PeriodicalId":202442,"journal":{"name":"Third IEEE International Workshop on Engineering of Autonomic & Autonomous Systems (EASE'06)","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-03-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Third IEEE International Workshop on Engineering of Autonomic & Autonomous Systems (EASE'06)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/EASE.2006.23","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
To improve the performance of transactional programming, we propose a new class of transactional data structures and introduce a transactional version of Java's HashMap class. This specialized HashMap class enables developers to take full advantage of the atomic and isolated properties of transactions in order to support concurrent access to different parts of a map. Furthermore, the validation and conflict resolution algorithm executed as part of the commit step resolves most types of potential conflict, thus allowing all transactions that don't directly conflict to commit. By using transactions to eliminate contention, and a specialized implementation of the HashMap class to resolve conflicts at commit-time, we significantly improve the efficiency of transactional programming