Title :
Thread escape analysis for Java programs based on Soot
Author :
Jin, Yongxian ; Hu, Wei ; Chen, Fengzhen ; Che, Gaofeng
Author_Institution :
Coll. of Math. Phys. & Inf. Eng., Zhejiang Normal Univ., Jinhua, China
Abstract :
To reduce the synchronization overhead for parallel Java programs, we introduce a thread escape analysis based on points-to graphs. It combines the rules for determining whether an object escapes the thread that creates it with a flexible points-to analysis framework. It intra-procedurally and inter-procedurally propagates the escape status of static fields and thread fields in the whole Java program and Java libraries. Thus it can identify those objects accessed by only one thread and then remove synchronization operations on them. We have developed an implementation on the Java framework Soot. Our escape analysis framework is written in Java and thus portable. For our benchmarks, 15.7% to 99.2% (with a median of 55.9%) of synchronization operations are eliminated.
Keywords :
Java; parallel programming; soot; synchronisation; parallel Java programs; points-to analysis framework; points-to graphs; soot; synchronization overhead; thread escape analysis; Algorithm design and analysis; Educational institutions; Ground support; Information analysis; Java; Libraries; Mathematics; Performance analysis; Testing; Yarn; Soot; escape analysis; points-to graph; synchronization removal; thread-escape;
Conference_Titel :
Test and Measurement, 2009. ICTM '09. International Conference on
Conference_Location :
Hong Kong
Print_ISBN :
978-1-4244-4699-5
DOI :
10.1109/ICTM.2009.5412985