Abstract
The technique of stack allocation improves the efficiency of Java program, but the trade-off between the ratio of allocated objects and the size of stack is difficult. In this paper, a flow-insensitive, inter-procedural, and context-sensitive escape analysis is implemented. The allocation policy based on loop as a basic unit is presented, and the concepts of object stack and stack region are proposed. The authors implement the stack allocation based on escape analysis through the loop analysis. The result of SPECjvm98 shows that 8.3% to 25% (with an average of 15.18%) of all objects could be stack allocated in the new algorithm with the controlled size of stack.
| Original language | English |
|---|---|
| Pages (from-to) | 1101-1108 |
| Number of pages | 8 |
| Journal | Jisuanji Xuebao/Chinese Journal of Computers |
| Volume | 31 |
| Issue number | 7 |
| DOIs | |
| State | Published - Jul 2008 |
Keywords
- Escape analysis
- JVM
- Loop analysis
- Program analysis
- Stack allocation
Fingerprint
Dive into the research topics of 'Study of stack allocation in loop based on escape analysis'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver