Title :
Transforming Java programs for concurrency using Double-Checked Locking pattern
Author :
Ishizaki, K. ; Daijavad, Shahrokh ; Nakatani, Takeshi
Author_Institution :
IBM Res. - Tokyo, Tokyo, Japan
Abstract :
Java provides a synchronized construct for multi-core programming with many workloads. However, naïve use of the synchronized construct causes performance scalability problems due to lock contention. One of the sources of lock contentions is a synchronized collection class. There are known concurrency code patterns to alleviate lock contentions such as a Concurrent Collection (CC), Read-Write Lock (RWL), and Double-Checked Locking (DCL). To date, there is no algorithm to transform a program using DCL. This paper describes steps on how to rewrite synchronized blocks using DCL.
Keywords :
Java; concurrency control; parallel programming; CC; DCL; Java programs; RWL; concurrency code patterns; concurrent collection; double-checked locking pattern; lock contention; multicore programming; performance scalability problems; read-write lock; synchronized block rewriting; synchronized construct; Concurrent computing; Java; Libraries; Programming; Scalability; Synchronization; Transforms;
Conference_Titel :
Performance Analysis of Systems and Software (ISPASS), 2014 IEEE International Symposium on
Conference_Location :
Monterey, CA
Print_ISBN :
978-1-4799-3604-5
DOI :
10.1109/ISPASS.2014.6844469