Loading...
Please wait, while we are loading the content...
Similar Documents
Gated memory control for memory monitoring, leak detection and garbage collection
| Content Provider | ACM Digital Library |
|---|---|
| Author | Zhang, Chengliang Ogihara, Mitsunori Ding, Chen Shen, Xipeng |
| Abstract | In the past, program monitoring often operates at the code level, performing checks at function and loop boundaries. Recent research shows that profiling analysis can identify high-level phases in complex binary code. Examples are time steps in scientific simulations and service cycles in utility programs. Because of their larger size and more predictable behavior, program phases make it possible for more accurate and longer term predictions of program behavior, especially its memory usage. This paper describes a new approach that uses phase boundaries as the gates to monitor and control the memory usage. In particular, it presents three techniques: memory usage monitoring, object lifetime classification, and preventive memory management. They use phase-level patterns to predict the trend of the program's memory demand, identify and control memory leaks, improve the efficiency of garbage collection. The potential of the new techniques is demonstrated on two non-trivial applications---a C compiler and a Lisp interpreter. |
| Starting Page | 62 |
| Ending Page | 67 |
| Page Count | 6 |
| File Format | |
| ISBN | 1595931473 |
| DOI | 10.1145/1111583.1111593 |
| Language | English |
| Publisher | Association for Computing Machinery (ACM) |
| Publisher Date | 2005-06-12 |
| Publisher Place | New York |
| Access Restriction | Subscribed |
| Subject Keyword | Memory usage monitoring Object life Preventive memory management Program phase Memory leak |
| Content Type | Text |
| Resource Type | Article |