@MISC{Pugh99compressingjava, author = {William Pugh}, title = {Compressing Java Class Files}, year = {1999} }
Years of Citing Articles
Bookmark
OpenURL
Abstract
Java class files are often distributed as jar files, which are collections of individually compressed class files (and possibility other files). Jar files are typically about 1/2 the size of the original class files due to compression. I have developed a wire-code format for collections of Java class files. This format is typically 1/2 to 1/5 of the size of the corresponding compressed jar file (1/4 to 1/10 the size of the original class files). 1 Introduction This paper examines techniques for compressing (collections of) Java class files. Java class files are generated by Java compilers, are the standard distribution medium for Java programs and are the usual way of providing programs to a Java virtual machine. Java class files contain a substantial amount of symbolic information. In the javac benchmark from SPEC JVM98, only 21% of the uncompressed class file size is actually taken up by the method bytecodes. One purpose of this is to avoid the need to recompile all Java classes th...