JCVM resolving optimization design and implementation
-
摘要: 针对传统的JCVM(Java Card Virtual Machine)解析过程复杂、指令执行速度慢的问题,依照JCVM特殊的卡内、卡外虚拟机相结合的设计思想,提出了分离式的解析优化方案;分别建立了卡外执行的静态绑定解析过程和卡内执行的动态绑定解析过程,并构建了用于传递中间结果的伪指令集.性能测试结果表明,该方法减少了卡内代码量,缩短了指令执行时间,提高了JCVM的整体性能.Abstract: To solve complex resolving and slow runtime problems of traditional JCVM(Java card virtual machine), the separate resolving solution was proposed according to the special structure of off-card and on-card JCVM. The static resolving out of card and the dynamic resolving within card was discussed, and the pseudoinstructions were introduced to transmit the middle result. Benchmarks show this special resolution will reduce the quantity of the code, shorten the runtime, and improve the whole capability of JCVM.
-
Key words:
- analytic /
- optimization /
- Java card /
- Java card virtual machine
-
[1] Guthery S B.Java card:Internet computing on a smart card[J]. Internet Computing, IEEE, 1997,1(1):57~59 [2]Lindholm Tim, Yellin Frank.The Java virtual machine specification[M].Addsion-wesley,1996 [3]Sun.Java CardTM2.2 virtual machine specification . Sun Microsystems, Inc, 2002 [4] 何炎祥.编译原理[M].武汉:华中理工大学出版社,2000 He Yanxiang. Compiler construction principles[M].Wuhan:Huazhong University of Science and Technology Press, 2000(in Chinese) [5] Chen F G, Hou Tingwei. Design and implementation of Java execution environment[J].Parallel and Distributed Systems, 1998
点击查看大图
计量
- 文章访问数: 2998
- HTML全文浏览量: 44
- PDF下载量: 2295
- 被引次数: 0