Detection and removal of dead references in java using data flow analysis데이타 흐름 분석을 통한 자바에서의 Dead reference 검출 기법

Cited 0 time in webofscience Cited 0 time in scopus
  • Hit : 490
  • Download : 0
Java is increasingly gaining acceptance as an application platform for embedded systems. Many of the embedded systems, such as mobile devices and smart cards, have very limited memory spaces. Therefore, reducing memory space required to run Java applications is critical for memory-constrained embedded systems. In this thesis, we present a static analysis technique for reducing heap space requirements of Java applications. We develop a new data-flow analysis for detecting dead references to objects, which are defined as references that are not removed although they are no longer necessary. Our analysis technique also determines program points where we can remove dead references by assigning null to reference fields. Assigning null to those fields allows a garbage collector to reclaim objects referenced by the fields in a more timely manner, and hence, saves heap space occupied by the objects. We have implemented our data-flow analysis algorithms for Java applications and applied it to a number of benchmark programs. Guided by the list of dead references and null-assignable program points, we have modified the source code of the benchmark programs. Our experimental results show that space saving up to 8.1% can be achieved, but savings vary from application to application. Since our analysis may generate false positives, the technique is not applicable to automatic program transformation. However, the results presented in this thesis demonstrate that our analysis is practical for large applications and effective for reducing heap space requirements.
Advisors
Kwon, Yong-Raeresearcher권용래researcher
Description
한국과학기술원 : 전산학전공,
Publisher
한국과학기술원
Issue Date
2007
Identifier
265031/325007  / 020053073
Language
eng
Description

학위논문(석사) - 한국과학기술원 : 전산학전공, 2007.2, [ vi, 34 p. ]

Keywords

java; memory management; garbage collection; data-flow analysis; 데이타 흐름 분석; 자바; 메모리 관리; 가비지 컬렉션

URI
http://hdl.handle.net/10203/34750
Link
http://library.kaist.ac.kr/search/detail/view.do?bibCtrlNo=265031&flag=dissertation
Appears in Collection
CS-Theses_Master(석사논문)
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