淡江大學機構典藏:Item 987654321/34194
English  |  正體中文  |  简体中文  |  Items with full text/Total items : 62805/95882 (66%)
Visitors : 3947073      Online Users : 566
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library & TKU Library IR team.
Scope Tips:
  • please add "double quotation mark" for query phrases to get precise results
  • please goto advance search for comprehansive author search
  • Adv. Search
    HomeLoginUploadHelpAboutAdminister Goto mobile version
    Please use this identifier to cite or link to this item: https://tkuir.lib.tku.edu.tw/dspace/handle/987654321/34194


    Title: Java混階編譯器
    Other Titles: Java mixed-level compiler
    Authors: 楊哲豪;Yang, Che-hao
    Contributors: 淡江大學資訊管理學系碩士班
    廖賀田;Liaw, Heh-tyan
    Keywords: Java;J2ME;混階語法;編譯器;最佳化;Java;J2ME;mixed-level;compiler;Optimization
    Date: 2008
    Issue Date: 2010-01-11 05:01:07 (UTC+8)
    Abstract: 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.
    Appears in Collections:[Graduate Institute & Department of Information Management] Thesis

    Files in This Item:

    File SizeFormat
    0KbUnknown863View/Open

    All items in 機構典藏 are protected by copyright, with all rights reserved.


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