1998 · 40 citations · 23 references
ComputingComputer ScienceCompilersComputer ArchitectureProgramming LanguagesAbstract Syntax TreesCompiler ConstructionControl-flow AnalysisData-flow AnalysisObject-oriented AnalysisObject-oriented ProgrammingCompiler DesignHeap AllocationHeap AnalysisInliningInterprocedural AnalysisObject AllocationObjectsReference Models
Object-oriented languages such as Java and Smalltalk provide a uniform object reference model, allowing objects to be conveniently shared. If implemented directly, these uniform reference models can suffer in efficiency due to additional memory dereferences and memory management operations. Automatic inline allocation of child objects within parent objects can reduce overheads of heap-allocated pointer-referenced objects.We present three compiler analyses to identify inlinable fields by tracking accesses to heap objects. These analyses span a range from local data flow to adaptive whole-program, flow-sensitive inter-procedural analysis. We measure their cost and effectiveness on a suite of moderate-sized C++ programs (up to 30,000 lines including libraries). We show that aggressive interprocedural analysis is required to enable object inlining, and our adaptive inter-procedural analysis [23] computes precise information efficiently. Object inlining eliminates typically 40% of object accesses and allocations (improving performance up to 50%). Furthermore,
23
Control-flow analysis of higher-order languages of taming lambda
Olin Shivers · Modern healthcare · 1991 · 343 citations
Object-oriented type inference
Jens Palsberg, Michael I. Schwartzbach · 1991 · 305 citations · Full text
Control flow analysis in scheme
Olin Shivers · ACM SIGPLAN Notices · 1988 · 279 citations