Abstract
This paper describes a simple tool for diagnosing allocation errors in C-language [Kern 78] programs. Our tool consists of a traced replacement for the standard memory allocator, and a program to analyze traces. We have found this tool quite helpful in making long-running programs (e.g. text editors) more robust.
- {Kern 78} Kernighan, B. W., and Ritchie, D. M., The C Programming Language, Prentice-Hall, Inc., Englewood Cliffs, NJ, 1978 Google ScholarDigital Library
- {Bara 81} Barach, Taenzer and Wells, "Design of the PEN video editor Display Module," Proceedings of ACM Symposium on Text Manipulation, SIGPLAN Notices, June 1981. Google ScholarDigital Library
Recommendations
A technique for finding storage allocation errors in C-language programs
This paper describes a simple tool for diagnosing allocation errors in C-language [Kern 78] programs. Our tool consists of a traced replacement for the standard memory allocator, and a program to analyze traces. We have found this tool quite helpful in ...
A low-complexity coding method for mitigating retention errors and read-disturb errors in TLC NAND flash memory
RACS '22: Proceedings of the Conference on Research in Adaptive and Convergent SystemsWhen the P/E cycles of TLC NAND flash memory is exceeding its limit, data can only be safely stored in the TLC NAND flash memory for a limited retention time or a limited read cycles. As the retention time or the read cycles increases beyond a certain ...
Understanding memory allocation of scheme programs
Memory is the performance bottleneck of modern architectures. Keeping memory consumption as low as possible enables fast and unobtrusive applications. But it is not easy to estimate the memory use of programs implemented in functional languages, due to ...
Comments