Title :
Impact of Java memory model on out-of-order multiprocessors
Author :
Mitra, Tulika ; Roychoudhury, Abhik ; Shen, Qinghua
Author_Institution :
Sch. of Comput., Nat. Univ. of Singapore, Singapore
Abstract :
The semantics of Java multithreading dictates all possible behaviors that a multithreaded Java program can exhibit on any platform. This is called the Java memory model (JMM) and describes the allowed reorderings among the memory operations in a thread. However, multiprocessor platforms traditionally have memory consistency models of their own. In this paper, we study the interaction between the JMM and the multiprocessor memory consistency models. In particular, memory barriers may have to be inserted to ensure that the multiprocessor execution of a multithreaded Java program respects the JMM. We study the impact of these additional memory barriers on program performance. Our experimental results indicate that the performance gain achieved by relaxed hardware memory consistency models far exceeds the performance degradation due to the introduction of JMM.
Keywords :
Java; multi-threading; performance evaluation; shared memory systems; Java memory model; Java multithreading semantics; memory barriers; memory consistency models; out-of-order multiprocessors; program performance; Computer languages; Degradation; Hardware; Java; Multithreading; Out of order; Programming profession; Read-write memory; Software performance; Yarn;
Conference_Titel :
Parallel Architecture and Compilation Techniques, 2004. PACT 2004. Proceedings. 13th International Conference on
Print_ISBN :
0-7695-2229-7
DOI :
10.1109/PACT.2004.1342545