Skip to main content

Optimizing for Memory

  • Chapter
Key Java

Part of the book series: Practitioner Series ((PRACT.SER.))

  • 585 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

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.

    Google Scholar 

Online References

  • The Java obfuscator used was Jobe, available from http://www.primenet.com/∼ej/index.html

    Google Scholar 

  • A useful source of information on Java optimization can be found at http://www.cs.cmu.edu/∼jch/java/

    Google Scholar 

  • The Java Virtual Machine Specification is available from Sun at http://java.sun.com/docs/books/vmspec/index.html

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics