Abstract
When optimizing Java code, programmers naturally focus on improving performance. After all, the most common criticism levelled at Java is its relative lack of speed. There is, however, another side to optimization — that of optimizing for size (which is often in direct competition with performance). Optimizing for size manifests itself in two (related) forms: reducing the size of Java classes, and reducing the amount of memory used at runtime.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Further Reading
Howard R. (1997) StoreTable: a Java class for simple object persistence. Java Report; 2(5): 45.
Online References
The Java obfuscator used was Jobe, available from http://www.primenet.com/∼ej/index.html
A useful source of information on Java optimization can be found at http://www.cs.cmu.edu/∼jch/java/
The Java Virtual Machine Specification is available from Sun at http://java.sun.com/docs/books/vmspec/index.html
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1998 Springer-Verlag London Limited
About this chapter
Cite this chapter
Hunt, J.E., McManus, A.G. (1998). Optimizing for Memory. In: Key Java. Practitioner Series. Springer, London. https://doi.org/10.1007/978-1-4471-0607-4_16
Download citation
DOI: https://doi.org/10.1007/978-1-4471-0607-4_16
Publisher Name: Springer, London
Print ISBN: 978-3-540-76259-1
Online ISBN: 978-1-4471-0607-4
eBook Packages: Springer Book Archive