Inferring weak references for fixing Java memory leaks

Ju Qian, Xiaoyu Zhou · 2012

Lots of efforts have yet been devoted to the detection of memory leaks. However, very few work concerns on the problem of memory leak fixing. In this paper, we propose a dynamic approach for the weak reference based memory leak fixing. The approach can automatically infer the weakenable references in a program, rank them and report them to the user. The user can then weaken references according to the reports to fix the memory leaks.

Read the paper · More papers on PaperTik