Research and Implementation of Bytecode Instruction Folding on Java Card
- 10.2991/ccit-14.2014.104How to use a DOI?
- Java Card, stack computer, instruction folding
How to improve the run speed of the interpreter on Java Card with limited resources is an important issue. An optimized instruction folding algorithm is given in this paper. At first, the optimization scheme based on off-card and on-card virtual machine is given. The optimized instruction roles model for folding is defined and the grammar rules for folding are designed. Secondly, the byte codes dependency in instruction folding groups is analyzed. The instruction folding algorithm and the state diagram of folding process are designed and implemented. At last, the optimized algorithm is tested on SLE66CLX800PE smart card. The results show that the speed performance gain of instruction groups is 2.28 and the gain of typical financial Applets is 1.24.The instruction folding algorithm speeds up the execution of interpreter.
- © 2014, the Authors. Published by Atlantis Press.
- Open Access
- This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).
Cite this article
TY - CONF AU - Tianhua Liu AU - Dawei Zhang AU - Yichen Jiang PY - 2014/01 DA - 2014/01 TI - Research and Implementation of Bytecode Instruction Folding on Java Card BT - Proceedings of the 2014 International Conference on Computer, Communications and Information Technology PB - Atlantis Press SP - 410 EP - 413 SN - 1951-6851 UR - https://doi.org/10.2991/ccit-14.2014.104 DO - 10.2991/ccit-14.2014.104 ID - Liu2014/01 ER -