计算机工程与设计
計算機工程與設計
계산궤공정여설계
COMPUTER ENGINEERING AND DESIGN
2010年
2期
330-334
,共5页
辛博坤%王永吉%潘远明%徐帆江
辛博坤%王永吉%潘遠明%徐帆江
신박곤%왕영길%반원명%서범강
Java虚拟机%Kaffe%龙芯2E%MIPS指令集%及时编译器
Java虛擬機%Kaffe%龍芯2E%MIPS指令集%及時編譯器
Java허의궤%Kaffe%룡심2E%MIPS지령집%급시편역기
JVM%Kaffe%Godson2E%MIPS%JIT
为了在龙芯2E处理器上建立稳定的Java运行环境,丰富龙芯平台的上层软件库,以Kaffe这款开源Java虚拟机为移植对象,分析了其运行机制,确定了其代码结构中平台相关的3个主要模块:SysCallMethod、Trampoline和JTT,并结合龙芯2E处理器的特点,给出了相关模块的修改方案.最后用第三方的测试标准对移植后的虚拟机进行了测试,表明了移植的有效性.
為瞭在龍芯2E處理器上建立穩定的Java運行環境,豐富龍芯平檯的上層軟件庫,以Kaffe這款開源Java虛擬機為移植對象,分析瞭其運行機製,確定瞭其代碼結構中平檯相關的3箇主要模塊:SysCallMethod、Trampoline和JTT,併結閤龍芯2E處理器的特點,給齣瞭相關模塊的脩改方案.最後用第三方的測試標準對移植後的虛擬機進行瞭測試,錶明瞭移植的有效性.
위료재룡심2E처리기상건립은정적Java운행배경,봉부룡심평태적상층연건고,이Kaffe저관개원Java허의궤위이식대상,분석료기운행궤제,학정료기대마결구중평태상관적3개주요모괴:SysCallMethod、Trampoline화JTT,병결합룡심2E처리기적특점,급출료상관모괴적수개방안.최후용제삼방적측시표준대이식후적허의궤진행료측시,표명료이식적유효성.
To build a Java run-time environment on Godson 2E, expand the software library of Godson platform, Kaffe, an open source JVM developed for research work is chose for the Transplantation. By analyzing the structure of Kaffe, the three key modules which depend on the platform are SysCallMethod, Tranpoline and JIT. Based on the features of Godson 2E, the solution of porting for the modules is proposed. The testing result of third party benchmark shows that the solution is feasible and the transplantation is successful.