DocumentCode :
2682465
Title :
A dynamic memory measuring tool for C++ programs
Author :
Lee, Woo Hyong ; Chang, J. Morris ; Hasan, Yusuf
Author_Institution :
Dept. of Comput. Sci., Illinois Inst. of Technol., Chicago, IL, USA
fYear :
2000
fDate :
2000
Firstpage :
155
Lastpage :
159
Abstract :
Dynamic memory management has been a high cost component in many software systems. A study has shown that memory intensive C programs can consume up to 30% of the program run time in memory allocation and liberation. Especially, in C++ programs, they tend to have object creation and deletion prolifically. The C++ memory allocation rate can be as much as ten times higher than the comparable applications written in C. Despite the importance of dynamic memory management in C++, there exist few software tools to study dynamic memory in C++. This paper introduces a tracing tool, called mtrace++, to study the dynamic memory allocation behavior in C++ programs. mtrace++ is a source code level instrumented tracing tool which produces records of allocation and deallocation information. mtrace++ identifies the origins of allocated memories and life-spans of objects. With limited overheads, mtrace++ can help programmers to solve dynamic memory problems with affordable cost
Keywords :
C++ language; object-oriented programming; software tools; storage allocation; storage management; C++ programs; cost; dynamic memory management; dynamic memory measuring tool; memory allocation; memory intensive C programs; mtrace++; object creation; object deletion; software tools; tracing tool; Application software; Computer science; Costs; Electrical capacitance tomography; Frequency; Knowledge management; Memory management; Programming profession; Software systems; Software tools;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Application-Specific Systems and Software Engineering Technology, 2000. Proceedings. 3rd IEEE Symposium on
Conference_Location :
Richardson, TX
Print_ISBN :
0-7695-0559-7
Type :
conf
DOI :
10.1109/ASSET.2000.888070
Filename :
888070
Link To Document :
بازگشت