Качество: eBook (изначально компьютерное)
Издатель: Addison-Wesley Longman, Amsterdam
Кол-во страниц: 256
Now that Java is doing more and more in the field, improving its speed and efficiency is crucial for many working developers. Written by two Sun insiders, Java Platform Performance gives the experienced Java programmer plenty of useful strategies and tips for getting the most out of Java code.
This concise title offers plenty of concrete suggestions for improving real-world programs, but it also helps you think about performance as you design and test Java software.
A strength of this book is that the authors share their expertise, garnered from optimising the Swing classes for Sun. This text shows you how to benchmark and profile Java code and where to look for problem hot spots--and once these are solved, where to go next for even better performance. You learn how to reduce object creation and class loading, which can allow your programs to load faster and consume less memory.
Also notable here is a solution for letting multiple Java programs share a single JVM for reduced memory overhead. The authors do a good job of dismantling the notion that using the Java Native Interface (JNI) is a quick fix for better performance. They also show how memory leaks still can exist in Java, and how to find them. The book closes with a guide to Java garbage collection and the latest on Sun's HotSpot Virtual Machine.
Размер: 2,30 Мгб