%0 Book Section %B Transactional Memory. Foundations, Algorithms, Tools, and Applications %D 2015 %T Framework Support for the Efficient Implementation of Multi-version Algorithms %A Ricardo J. Dias %A Vale, Tiago M. %A João M. Lourenço %E Guerraoui, Rachid %E Romano, Paolo %I Springer International Publishing %K Automatic configuration %K Virtual appliance %K Virtualization %P 166–191 %R 10.1007/978-3-319-14720-8_8 %S Lecture Notes in Computer Science %U http://dx.doi.org/10.1007/978-3-319-14720-8_8 %V 8913 %X

Software Transactional Memory algorithms associate metadata with the memory locations accessed during a transactions lifetime. This metadata may be stored in an external table and accessed by way of a function that maps the address of each memory location with the table entry that keeps its metadata (this is the out-place or external scheme); or alternatively may be stored adjacent to the associated memory cell by wrapping them together (the in-place scheme). In transactional memory multi-version algorithms, several versions of the same memory location may exist. The efficient implementation of these algorithms requires a one-to-one correspondence between each memory location and its list of past versions, which is stored as metadata. In this chapter we address the matter of the efficient implementation of multi-version algorithms in Java by proposing and evaluating a novel in-place metadata scheme for the Deuce framework. This new scheme is based in Java Bytecode transformation techniques and its use requires no changes to the application code. Experimentation indicates that multi-versioning STM algorithms implemented using our new in-place scheme are in average 6 × faster than when implemented with the out-place scheme.

%Z

n/a

%@ 978-3-319-14719-2 %> https://docentes.fct.unl.pt/sites/default/files/joao-lourenco/files/transactional_memory-dias_vale_lourenco.pdf