Java Bytecode Compression for Embedded Systems
暂无分享,去创建一个
A program executing on an embedded system or similar environment faces limited memory resources and fixed time constrains. We demonstrate how factorization of common instruction sequences can be automatically applied to Java bytecode programs. Based on a series of experiments, we argue that program size is reduced by 30% on the average, typically with an execution time penalty of less than 30%. The one-time, minor modifications necessary to make a standard Java interpreter compatible with this factorized code are presented on the Harissa virtual machine, together with an algorithm for performing the factorization of Java bytecode.
[1] Ian H. Witten,et al. Text Compression , 1990, 125 Problems in Text Algorithms.
[2] David A. Huffman,et al. A method for the construction of minimum-redundancy codes , 1952, Proceedings of the IRE.
[3] Christopher W. Fraser,et al. Analyzing and compressing assembly code , 1984, SIGPLAN '84.