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

10 Citations (Scopus)

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 (Print)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 → …

Other

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

Fingerprint

Leak detection
Data storage equipment
Monitoring
Utility programs
Binary codes
Phase boundaries

Keywords

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

ASJC Scopus subject areas

  • Hardware and Architecture
  • Computer Science Applications
  • Software

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). Association for Computing Machinery, Inc. https://doi.org/10.1145/1111583.1111593

Gated memory control for memory monitoring, leak detection and garbage collection. / Ding, Chen; Zhang, Chengliang; Shen, Xipeng; Ogihara, Mitsunori.

Proceedings of the 3rd 2005 ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005. Association for Computing Machinery, Inc, 2005. p. 62-67.

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

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. Association for Computing Machinery, Inc, pp. 62-67, 3rd ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005, Chicago, United States, 6/12/05. https://doi.org/10.1145/1111583.1111593
Ding C, Zhang C, Shen X, Ogihara M. 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. Association for Computing Machinery, Inc. 2005. p. 62-67 https://doi.org/10.1145/1111583.1111593
Ding, Chen ; Zhang, Chengliang ; Shen, Xipeng ; Ogihara, Mitsunori. / Gated memory control for memory monitoring, leak detection and garbage collection. Proceedings of the 3rd 2005 ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005. Association for Computing Machinery, Inc, 2005. pp. 62-67
@inproceedings{5c28c2fb87024820943c0c93113ef75c,
title = "Gated memory control for memory monitoring, leak detection and garbage collection",
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.",
keywords = "Memory leak, Memory usage monitoring, Object life, Preventive memory management, Program phase",
author = "Chen Ding and Chengliang Zhang and Xipeng Shen and Mitsunori Ogihara",
year = "2005",
month = "6",
day = "12",
doi = "10.1145/1111583.1111593",
language = "English (US)",
isbn = "1595931473",
pages = "62--67",
booktitle = "Proceedings of the 3rd 2005 ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005",
publisher = "Association for Computing Machinery, Inc",

}

TY - GEN

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

AU - Ding, Chen

AU - Zhang, Chengliang

AU - Shen, Xipeng

AU - Ogihara, Mitsunori

PY - 2005/6/12

Y1 - 2005/6/12

N2 - 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.

AB - 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.

KW - Memory leak

KW - Memory usage monitoring

KW - Object life

KW - Preventive memory management

KW - Program phase

UR - http://www.scopus.com/inward/record.url?scp=33646843900&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=33646843900&partnerID=8YFLogxK

U2 - 10.1145/1111583.1111593

DO - 10.1145/1111583.1111593

M3 - Conference contribution

SN - 1595931473

SN - 9781595931474

SP - 62

EP - 67

BT - Proceedings of the 3rd 2005 ACM SIGPLAN Workshop on Memory Systems Performance, MSP 2005

PB - Association for Computing Machinery, Inc

ER -