Memory Usage Inference for Object-Oriented Programs
Author(s)Nguyen, Huu Hai; Chin, Wei Ngan; Qin, Shengchao; Rinard, Martin C.
We present a type-based approach to statically derive symbolic closed-form formulae that characterize the bounds of heap memory usages of programs written in object-oriented languages. Given a program with size and alias annotations, our inference system will compute the amount of memory required by the methods to execute successfully as well as the amount of memory released when methods return. The obtained analysis results are useful for networked devices with limited computational resources as well as embedded software.
Computer Science (CS);
Type System, Object-Oriented Languages, Memory Management