Data Flow Analysis for Software Prefetching Linked Data Structures in Java
Brendon Cahoon, Kathryn S. McKinley · 2001
In this paper, we describe an effective compile-time analysis for software prefetching in Java. Previous work in software data prefetching for pointer-based codes uses simple compiler algorithms and does not investigate prefetching for object-oriented language features that make compiletime analysis difficult. We develop a new data flow analysis to detect regular accesses to linked data structures in Java programs. We use intra and interprocedural analysis to identify profitable prefetching opportunities for greedy and jump-pointer prefetching, and we implement these techniques in a compiler for Java. Our results show that both prefetching techniques improve four of our ten programs. The largest performance improvement is 48% with jumppointers, but consistent improvements are difficult to obtain. 1.
Cited by 140 works. doi:10.5555/645988.674177
Authors
References
- Compilers: Principles, Techniques, and Tools
- Design and evaluation of a compiler algorithm for prefetching
- Software prefetching
- Solving shape-analysis problems in languages with destructive updating
- Is it a tree, a DAG, or a cyclic graph? A shape analysis for heap-directed pointers in C
- Compiler-based prefetching for recursive data structures
- Control flow analysis in scheme
- Cache-conscious structure layout
- Dependence based prefetching for linked data structures
- Vortex