透過您的圖書館登入
IP:3.129.70.157
  • 學位論文

建立於LLVM上之Java程式分析及轉換

A Java Analysis and Transformation Framework Based on Low Level Virtual Machine (LLVM)

指導教授 : 徐爵民

摘要


With the rapid advancement of embedded system design technologies, today's portable devices perform an ever increasing number of functionalities. A clear trend for recent portable devices is to embed multiple processors to provide the required computing power. Reducing the energy consumption for portable devices therefore has become a major concern in system design. On the other hand, Java language has become popular in developing application programs for portable devices. In this thesis, we propose a framework based on Low Level Virtual Machine (LLVM) for the analysis and transformation for Java programs for portable devices. Experimental results are shown to verify the effectiveness of the proposed framework.

關鍵字

編譯器

並列摘要


隨著嵌入式系統技術的發展,現今單一手持式裝置可以處理或提供越來越多的功能,單一處理器經常無法滿足系統運算需求,而需有多個處理器來負責複雜的工作,也因此有許多研究將重點放在如何減少這些裝置電源的消耗或是如何提高程式執行的效能上。另一方面我們也發現在手持式平台上面使用Java 撰寫應用程式已經逐漸成為趨勢,因此我們想要提供一建立在LLVM上之Framework,此Framework能夠提供開發者一個對於Java 程式分析或者是優化(如程式執行時記憶體的優化)的環境。我們在實驗的部分展示出,當Java程式進入我們的Framework後能夠得到哪些分析的資訊以及如何對程式作優化轉換,並且實際執行Benchmark。

並列關鍵字

LLVM

參考文獻


[3] Chris Lattner and Vikram Adve, “LLVM: A Compilation Framework for Lifelong Program Analysis & Transformation,” Proceedings of the 2004 International Symposium on Code Generation and Optimization (CGO'04), Mar. 2004.
[7] Sumant Kowshik, Dinakar Dhurjati, and Vikram Adve, “Ensuring Code Safety Without Runtime Checks for Real-Time Control Systems,” Int'l Conf. on Compilers, Architecture and Synthesis for Embedded Systems (CASES02),
[15] Java Native Interface (JNI)
[16] Byte Code Engineering Library (BCEL)
[1] Chris Lattner, “LLVM: An Infrastructure for Multi- Stage Optimization,” Masters Thesis, Computer Science Dept., University of Illinois at Urbana-Champaign, Dec. 2002.

延伸閱讀