Optimizing Java Code
Some tips from JavaWorld on how to optimize your Java code. Covers some low-level optimizations without resorting to native methods, and also provides a Benchmark applet to help measure Java's performance.
Jonathan Hardwick's notes on how to optimize your Java programs so that they're faster, smaller, and more maintainable. The ultimate Holy Grail of software development!
Optimizing Java for
Maintainability
Some very important guidelines from Jonathan Hardwick on good practices when optimising code to ensure it remains maintainable.
Some techniques for reducing the size of .class files - especially important when writing applets.
Building
High-Performance Applications and Servers in Java
An experiential study by IBM describing techniques for improving the performance of Java code and enabling the development of high-throughput applications and servers in Java. The conclusion and recommendations are available on-line in HTML format, and the full text is available as a PDF document.
Some more guidelines from Jonathan Hardwick on how to optimise code to ensure it runs fast.
IBM Systems Journal
- Java Performance
The January 2000 issue of IBM Systems Journal focuses on the latest efforts to maximize Java application performance. Articles include:
·
· Java programming for high-performance numerical computing
· Java server benchmarks
· Java Virtual Machine Profiler Interface
· JaViz: A client/server Java profiling tool
· A unifying approach to performance analysis in the Java environment
· The evolution of a high-performing Java virtual machine
· Java server performance: A case study of building efficient, scalable JVMs
· Overview of the IBM Java Just-in-Time Compiler
· Building a Java virtual machine for server applications: The JVM on OS/390
· The Jalapeņo virtual machine
Java bytecode: Understanding bytecode
makes you a better programmer
This article gives you an understanding of Java bytecode that will enable you to be a better programmer. Java programmers should take the time to understand what the bytecode is, how it works, and most importantly, what bytecode is being generated by the Java compiler. In some cases, the bytecode generated is not what you expect!