Field level analysis for heap space optimization in embedded java environments

Guangyu Chen, Mahmut Kandemir, N. Vijaykrishnan, Mary Janie Irwin

Research output: Contribution to conferencePaperpeer-review

5 Scopus citations


Memory constraint presents one of the critical challenges for embedded software writers. While circuit-level solutions based on cramming as many bits as possible into the smallest area possible are certainly important, memory-conscious software can bring much higher benefits. Focusing on an embedded Java-based environment, this paper studies potential benefits and challenges when heap memory is managed at a field granularity instead of object. This paper discusses these benefits and challenges with the help of two field-level analysis techniques. The first of these, called the field-level lifetime analysis, takes advantage of the observation that, for a given object instance, not all the fields have the same lifetime. The field-level lifetime analysis demonstrates the potential benefits of exploiting this information. Our second analysis, referred to as the disjointness analysis, is built upon the fact that, for a given object, some fields have disjoint lifetimes, and therefore, they can potentially share the same memory space. To quantify the impact of these techniques, we performed experiments with several benchmarks, and point out the important characteristics that need to be considered by application writers.

Original languageEnglish (US)
Number of pages12
StatePublished - 2004
Event2004 International Symposium on Memory Management, ISMM 2004 - Vancouver, BC, Canada
Duration: Oct 24 2004Oct 25 2004


Other2004 International Symposium on Memory Management, ISMM 2004
CityVancouver, BC

All Science Journal Classification (ASJC) codes

  • General Engineering


Dive into the research topics of 'Field level analysis for heap space optimization in embedded java environments'. Together they form a unique fingerprint.

Cite this