淡江大學機構典藏:Item 987654321/34194
English  |  正體中文  |  简体中文  |  全文笔数/总笔数 : 62797/95867 (66%)
造访人次 : 3727853      在线人数 : 850
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library & TKU Library IR team.
搜寻范围 查询小技巧:
  • 您可在西文检索词汇前后加上"双引号",以获取较精准的检索结果
  • 若欲以作者姓名搜寻,建议至进阶搜寻限定作者字段,可获得较完整数据
  • 进阶搜寻


    jsp.display-item.identifier=請使用永久網址來引用或連結此文件: https://tkuir.lib.tku.edu.tw/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.
    显示于类别:[資訊管理學系暨研究所] 學位論文

    文件中的档案:

    档案 大小格式浏览次数
    0KbUnknown860检视/开启

    在機構典藏中所有的数据项都受到原著作权保护.

    TAIR相关文章

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