2006 · 45 citations · 19 references
ComputingComputer EngineeringComputer ScienceCompilersOperating SystemsProgramming LanguagesControl-flow AnalysisData-flow AnalysisMemory ManagementStatic AnalysisVirtual MemoryCompile-time OptimizationContext-sensitive AnalysisDynamic Memory ManagementHeap AnalysisObjects
This paper presents a static analysis and transformation system that enables the deallocation of individual objects in Java programs. Given an input program, the compiler automatically inserts free statements to deallocate individual objects. This transformation is enabled by an inter-procedural, context-sensitive dataflow analysis that tracks the state of one object instance at a time, from the point where it is allocated, and up to the point where the object instance becomes unreachable and can be freed.For the SPECjvm98 benchmarks, free-instrumented programs generated by our compiler and executed in a virtual machine with explicit memory deallocation reclaim, on average, more than 50%of the total memory allocated by the program, and have a low run-time overhead of 1%. For several benchmarks, the analysis can free more than 85% of the total memory.
19
Region-Based Memory Management
Mads Tofte, Jean-Pierre Talpin · Information and Computation · 1997 · 617 citations
Jong-Deok Choi, Manish Gupta, Maurício Serrano et al. · 1999 · 505 citations · Full text
Compositional pointer and escape analysis for Java programs
John Whaley, Martin Rinard · 1999 · 443 citations
Region-based memory management in cyclone
Dan Grossman, Greg Morrisett, Trevor Jim et al. · 2002 · 407 citations