DocumentCode :
2674706
Title :
Static analysis for enforcing intra-thread consistent locks in the migration of a legacy system
Author :
Ceccato, Mariano ; Tonella, Paolo
Author_Institution :
Fondazione Bruno Kessler, IRST, Trento, Italy
fYear :
2010
fDate :
12-18 Sept. 2010
Firstpage :
1
Lastpage :
9
Abstract :
Often, legacy data management systems provide no native support to transactions. Programmers protect data from concurrent access by adopting commonly agreed patterns, relying on low level concurrency primitives, such as semaphores. In such cases, consistent data access is granted only if all code components are compliant with the adopted mutual exclusion patterns. When migrating legacy systems to modern data management systems, the ad hoc mechanisms for data protection must be replaced with modern constructs for transaction management. In such cases, a literal translation may expose problems and bugs, which were originally masked by the specific implementation and patterns in use. In this paper, we propose a static flow analysis that determines the existence of potentially incompatible locks within the same thread, which require specific code re-engineering before migrating to a modern data management system. We report the results obtained on a concrete instance of this problem.
Keywords :
program diagnostics; software maintenance; code reengineering; data protection; intrathread consistent lock; legacy data management system; static flow analysis; transaction management; Business; Concurrent computing; Context; Equations; Java; Libraries; XML; Legacy systems; code migration; flow analysis;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance (ICSM), 2010 IEEE International Conference on
Conference_Location :
Timisoara
ISSN :
1063-6773
Print_ISBN :
978-1-4244-8630-4
Electronic_ISBN :
1063-6773
Type :
conf
DOI :
10.1109/ICSM.2010.5609727
Filename :
5609727
Link To Document :
بازگشت