DocumentCode
1564749
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
fYear
2004
Firstpage
99
Lastpage
110
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;
fLanguage
English
Publisher
ieee
Conference_Titel
Parallel Architecture and Compilation Techniques, 2004. PACT 2004. Proceedings. 13th International Conference on
ISSN
1089-795X
Print_ISBN
0-7695-2229-7
Type
conf
DOI
10.1109/PACT.2004.1342545
Filename
1342545
Link To Document