Inserting safe memory reuse commands into ML-like programs

Cited 3 time in webofscience Cited 0 time in scopus
  • Hit : 310
  • Download : 0
We present a static analysis that estimates reusable memory cells and a source-level transformation that adds explicit memory-reuse commands into the program text. For benchmark ML programs, 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 prevalent 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) poly-variant analysis of functions by parameterization for the argument heap cells; (2) use of multiset formulas in expressing the sharings and partitionings of heap cells; (3) deallocations conditioned by dynamic flags that are passed as extra arguments to functions; (4) individual heap cell as the granularity of explicit memory-free. Our analysis and transformation is fully automatic.
Publisher
SPRINGER-VERLAG BERLIN
Issue Date
2003
Language
English
Article Type
Article; Proceedings Paper
Citation

STATIC ANALYSIS, PROCEEDINGS, v.2694, pp.171 - 188

ISSN
0302-9743
URI
http://hdl.handle.net/10203/225304
Appears in Collection
CS-Journal Papers(저널논문)
Files in This Item
There are no files associated with this item.
This item is cited by other documents in WoS
⊙ Detail Information in WoSⓡ Click to see webofscience_button
⊙ Cited 3 items in WoS Click to see citing articles in records_button

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0