摘要
为了实现空间占用量少、执行效率高的JCVM(Java card virtual machine),对应用程序在JCVM上成功执行的整个流程进行跟踪测验。报告了宏指令替换、静态解析、压缩算法等字节码优化技术,结合智能卡芯片中不同类型存储器的特性详细分析了Java智能卡存储空间合理分配原理,设计了空间共享方式的方法 Frame帧,结合JCVM的实际情况,提出了DirectThreaded Interpreter的Some Translation思想及记忆翻译法。测试结果表明,运用以上优化方法的Java智能卡虚拟机能消耗更少的卡上资源,在一定程度上提高了解释器的效率。
In order to achieve a JCVM which occupied less space and implemented efficiently, the whole successfully implemented pro-cess of the application on the JCVM is racked and tested. The optimization techniques of the byte codes are reported, including macro replacement, static analysis, compression algorithms and so on. With the characteristics of the different type memory on smart card chip, the reasonable distribution theory of the Java card memory is analyzed. Method frame with space sharing mode is designed, with the actual situation of JCVM, the Some Translation idea of the Direct Threaded Interpreter and memory translation method are proposed, the Java smart card virtual machine using the above optimization methods, consumed less resources of the card, to some extent, the ef- ficiency of the interoreter is imoroved.
出处
《计算机工程与设计》
CSCD
北大核心
2011年第10期3351-3355,共5页
Computer Engineering and Design
基金
广州市越秀区自然科技基金项目(2008-GX-015)