DocumentCode :
3064456
Title :
Efficient Classloading Strategies for Interprocedural Analyses in the Presence of Dynamic Classloading
Author :
Lee, Kyungwoo ; Ali, Qasim ; Midkiff, Samuel P.
Author_Institution :
Purdue Univ., West Lafayette
fYear :
2007
fDate :
20-26 May 2007
Firstpage :
6
Lastpage :
6
Abstract :
In the presence of dynamic classloading, performing interprocedural analysis (IPA) too early can lead to repeatedly performing the IPA as new classes are loaded, while performing it too late will cause a performance degradation by running unoptimized code for too long. This paper investigates how programs load classes and how this affects the performance when performing IPA. From this investigation, two classloading techniques are described and evaluated. We first describe a classloader that eagerly preloads classes whose names appear in the constant pool. By loading classes as early as possible, the preloading classloader reduces the chances of new classes being loaded after an IPA is performed, and thus can improve performance by reducing the number of IPAs performed. We next describe a technique that delays the IPA, causing it to be performed late enough to dramatically reduce the need for re-analyses and early enough to obtain the benefits of the IPA. When these two classloading techniques are used with a real IPA - an escape analysis to enforce sequential consistency in Java programs - the speedups relative to the default non- preloading classloader are 1.87 and 2.30 respectively, on average.
Keywords :
Java; optimising compilers; Java programs; classloading strategy; dynamic classloading; interprocedural analyses; interprocedural analysis; performance degradation; unoptimized code; Adaptive systems; Costs; Degradation; Delay; Java; Optimization methods; Performance analysis; Throughput; Virtual machining; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Dynamic Analysis, 2007. WODA '07. Fifth International Workshop on
Conference_Location :
Minneapolis, MN
Print_ISBN :
0-7695-2963-1
Type :
conf
DOI :
10.1109/WODA.2007.2
Filename :
4273463
Link To Document :
بازگشت