English  |  正體中文  |  简体中文  |  全文筆數/總筆數 : 55542/89862 (62%)
造訪人次 : 11013842      線上人數 : 36
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library & TKU Library IR team.
搜尋範圍 查詢小技巧:
  • 您可在西文檢索詞彙前後加上"雙引號",以獲取較精準的檢索結果
  • 若欲以作者姓名搜尋,建議至進階搜尋限定作者欄位,可獲得較完整資料
  • 進階搜尋
    請使用永久網址來引用或連結此文件: http://tkuir.lib.tku.edu.tw:8080/dspace/handle/987654321/34194


    題名: Java混階編譯器
    其他題名: Java mixed-level compiler
    作者: 楊哲豪;Yang, Che-hao
    貢獻者: 淡江大學資訊管理學系碩士班
    廖賀田;Liaw, Heh-tyan
    關鍵詞: Java;J2ME;混階語法;編譯器;最佳化;Java;J2ME;mixed-level;compiler;Optimization
    日期: 2008
    上傳時間: 2010-01-11 05:01:07 (UTC+8)
    摘要: J2ME(Java 2 Platform Micro Edition)被廣泛應用在手機市場。可攜性在手機市場是很重要的訴求,它讓手機軟體開發廠商節省開發時間與金錢,軟體開發者透過J2ME只需撰寫一套Java應用程式,便可在不同平台的手機上執行。
    J2ME提供KVM(Kilobyte Virtual Machine)讓資源受限的消費性電子產品執行Java類別檔,但因記憶體容量的限制以致無法運用JIT(Just-In-Time)技術來提升效能,使得在效能上為人詬病。雖然直接將Java原始碼編譯成處理器(Processor)之原生機器碼(Native Machine Code)可以提升執行之效能,但卻喪失了可攜性。
    本論文所提出的混階編譯器,讓程式員可在Java原始碼內同時撰寫高階語法與JAsm語言(Java Assembly Language)。混階原始碼經過剖析與連結成為混階語法樹,接著將混階語法樹生成JAsm組譯碼,最終輸出類別檔。
    實證證實經過混階語法的引用,使得程式在J2ME之執行時效能有顯著的增進。因此程式員可以透過混階編譯器,依實務上之需求針對程式碼片段用JAsm語法撰寫,使混階編譯後的類別檔在J2ME之執行效能上能有所提升。
    In recent years J2ME(Java 2 Platform Micro Edition) has been wildly applied in cell phone market. Therefore, J2ME’s ability to work with different platforms is important in the fragmented cell phone market. This capability lets a Java-enabled phone run applications and services written for other mobile platforms and also lets software vendors save time and money by writing a single, Java-based version of an application to run on multiple platforms.
    J2ME platform provides KVM(Kilobyte Virtual Machine) , which is an implementation optimized for use on small devices. However, limited memories constraints make JIT techniques untenable. Although it can compile java source code to native machine code for performance, it will loose the portability.
    We have developed a Java mixed-level compiler for compiling Java high-level language and JAsm(Java Assembly Language). The programmer can use mixed-level language to optimize original source code. The compiler translates mixed-level source code to mixed-level syntax tree. Then, it transforms mixed-level syntax tree into Java assembly code, and writes out the class file.
    Based on the experimental results, it can be seen that our approach can achieve better performance. Consequently, the programmer can use JAsm to optimize java source code.
    顯示於類別:[資訊管理學系暨研究所] 學位論文

    文件中的檔案:

    檔案 大小格式瀏覽次數
    0KbUnknown682檢視/開啟

    在機構典藏中所有的資料項目都受到原著作權保護.

    TAIR相關文章

    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library & TKU Library IR teams. Copyright ©   - 回饋