DocumentCode
1994408
Title
FlexSync: An aspect-oriented approach to Java synchronization
Author
Zhang, Charles
Author_Institution
Dept. of Comput. Sci. & Eng., Hong Kong Univ. of Sci. & Technol., Hong Kong
fYear
2009
fDate
16-24 May 2009
Firstpage
375
Lastpage
385
Abstract
Designers of concurrent programs are faced with many choices of synchronization mechanisms, among which clear functional trade-offs exist. Making synchronization customizable is highly desirable as different deployment scenarios of the same program often prioritize synchronization choices differently. Unfortunately, such customizations cannot be accomplished in the conventional non-modular implementation of synchronization. To enable customizability, we present FlexSync, an aspect oriented synchronization library, to enable the modular reasoning and the declarative specification of synchronization. Complex Java systems can simultaneously work with multiple synchronization mechanisms without any code changes. The FlexSync load-time weaver performs deployment time optimizations and ensures these synchronization mechanisms consistently interact with each other and with the core system. We evaluated FlexSync on commercially used complex Java systems and observed significant speedups as a result of the deployment-specific customization.
Keywords
Java; object-oriented programming; optimisation; Java synchronization; aspect-oriented approach; concurrent program; nonmodular implementation; optimization; Buffer storage; Buildings; Concurrent computing; Data structures; Delay; Fluctuations; Information retrieval; Java; Software libraries; Yarn;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2009. ICSE 2009. IEEE 31st International Conference on
Conference_Location
Vancouver, BC
ISSN
0270-5257
Print_ISBN
978-1-4244-3453-4
Type
conf
DOI
10.1109/ICSE.2009.5070537
Filename
5070537
Link To Document