@article {CPE3098:2013:dias,
	title = {Efficient support for in-place metadata in Java software transactional memory},
	journal = {Concurrency and Computation: Practice and Experience},
	volume = {25},
	number = {17},
	year = {2013},
	note = {<p>n/a</p>
},
	pages = {2394{\textendash}2411},
	abstract = {<p>Software transactional memory (STM) algorithms associate metadata with the memory locations accessed during a transaction{\textquoteright}s lifetime. This metadata may be stored in an external table by resorting to a mapping function that associates the address of a memory cell with the table entry containing the corresponding metadata (out-place or external strategy). Alternatively, the metadata may be stored adjacent to the associated memory cell by wrapping the cell and metadata together (in-place strategy). The implementation techniques to support these two approaches are very different and each STM framework is usually biased towards one of them, only allowing the efficient implementation of STM algorithms which suit one of the approaches and inhibiting a fair comparison with STM algorithms suiting the other. In this paper, we introduce a technique to implement in-place metadata that does not wrap memory cells, thus overcoming the bias and allowing STM algorithms to directly access the transactional metadata. The proposed technique is available as an extension to Deuce and enables the efficient implementation of a wide range of STM algorithms and their fair (unbiased) comparison in a common STM framework. We illustrate the benefits of our approach by analyzing its impact in two popular transactional memory algorithms with several transactional workloads, TL2 and multiversioning, each befitting out-place and in-place, respectively.</p>
},
	keywords = {bytecode instrumentation, data structures, Java, software transactional memory},
	issn = {1532-0634},
	doi = {10.1002/cpe.3098},
	url = {http://dx.doi.org/10.1002/cpe.3098},
	attachments = {https://docentes.fct.unl.pt/sites/default/files/joao-lourenco/files/ccpe2013-dias.pdf},
	author = {Ricardo J. Dias and Vale, Tiago M. and Jo{\~a}o M. Louren{\c c}o}
}
