Memory reuse analysis and transformation for ML-like programsML같은 프로그램에서 메모리 재사용을 위한 프로그램 분석과 변환

Cited 0 time in webofscience Cited 0 time in scopus
  • Hit : 457
  • Download : 0
Automatic memory management can be more than the garbage collection. Using the static analysis technologies, we can automatically find memory reuse opportunities in user programs, hence reducing the frequency of garbage collections. In this thesis, we present a static analysis that estimates reusable memory cells and a source-level transformation that inserts explicit memory-reuse commands into the programs that support algebraic data types. For benchmark programs in ML, our analysis and transformation achieves the memory reuse ratio from 5.2% to 91.3%. The small-ratio cases are for programs that have too much sharings among memory cells. For other cases, our experimental results are encouraging in terms of accuracy and cost. Major features of our analysis are: (1) use of multiset formulas in expressing the sharings and partitionings of heap cells; (2) poly-variant analysis of functions by parameterization for the argument heap cells; (3) deallocations conditioned by dynamic flags that are passed as extra arguments to functions. Our method is better than existing reported works in terms of its analysis accuracy and effectiveness. Our analysis and transformation is fully automatic and proven correct. Our experiment results are promising enough to conclude that garbage collection combined with the static analysis techniques can comprise more efficient, automatic memory management than garbage collection alone does.
Advisors
Yi, Kwang-Keunresearcher이광근researcher
Description
한국과학기술원 : 전산학전공,
Publisher
한국과학기술원
Issue Date
2003
Identifier
231149/325007  / 000975285
Language
eng
Description

학위논문(박사) - 한국과학기술원 : 전산학전공, 2003.8, [ iv, 105 p. ]

Keywords

type; garbage collection; memory analysis; program analysis; functional language; 함수형 언어; 타입; 메모리 재활용; 메모리 분석; 프로그램 분석

URI
http://hdl.handle.net/10203/32848
Link
http://library.kaist.ac.kr/search/detail/view.do?bibCtrlNo=231149&flag=dissertation
Appears in Collection
CS-Theses_Ph.D.(박사논문)
Files in This Item
There are no files associated with this item.

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0