Gated memory control for memory monitoring, leak detection and garbage collection

Chen Ding, Chengliang Zhang, Xipeng Shen, Mitsunori Ogihara

Research output: Chapter in Book/Report/Conference proceedingConference contribution

9 Scopus citations

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.

Original languageEnglish (US)
Title of host publicationProceedings of the 3rd 2005 ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005
PublisherAssociation for Computing Machinery, Inc
Pages62-67
Number of pages6
ISBN (Electronic)1595931473, 9781595931474
DOIs
StatePublished - Jun 12 2005
Externally publishedYes
Event3rd ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005 - Chicago, United States
Duration: Jun 12 2005 → …

Publication series

NameProceedings of the 3rd 2005 ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005

Other

Other3rd ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005
CountryUnited States
CityChicago
Period6/12/05 → …

Keywords

  • Memory leak
  • Memory usage monitoring
  • Object life
  • Preventive memory management
  • Program phase

ASJC Scopus subject areas

  • Hardware and Architecture
  • Computer Science Applications
  • Software

Fingerprint Dive into the research topics of 'Gated memory control for memory monitoring, leak detection and garbage collection'. Together they form a unique fingerprint.

  • Cite this

    Ding, C., Zhang, C., Shen, X., & Ogihara, M. (2005). Gated memory control for memory monitoring, leak detection and garbage collection. In Proceedings of the 3rd 2005 ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005 (pp. 62-67). (Proceedings of the 3rd 2005 ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005). Association for Computing Machinery, Inc. https://doi.org/10.1145/1111583.1111593